CmdID

CmdID / PowerShell / Cmdlets / New

New-ComplianceSearchAction

Use the New-ComplianceSearchAction cmdlet to create actions for content searches in Exchange Server and in Microsoft Purview. Exchange PowerShell reference

From the Exchange PowerShell reference 30 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

30 in the Exchange PowerShell reference
Show its 30 parameters
-SearchNameThe SearchName parameter specifies the name of the existing content search to associate with the content search action.
-ActionNameThe ActionName parameter specifies a name for the content search action.
-ArchiveFormatThis parameter is deprecated and no longer used.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-EnableDedupeThis parameter is reserved for internal Microsoft use.
-ExchangeArchiveFormatThis parameter requires the Export role in Security & Compliance PowerShell.
-ExportThis parameter requires the Export role in Security & Compliance PowerShell.
-FileTypeExclusionsForUnindexedItemsThe FileTypeExclusionsForUnindexedItems specifies the file types to exclude because they can't be indexed.
-ForceThe Force switch hides warning or confirmation messages.
-FormatIn Security & Compliance PowerShell, this parameter requires the Export role.
-IncludeCredentialThe IncludeCredential switch specifies whether to include the credential in the results.
-IncludeSharePointDocumentVersionsThe IncludeSharePointDocumentVersions parameter specifies whether to export previous versions of the document when you use the Export switch.
-JobOptionsThis parameter is reserved for internal Microsoft use.
-NotifyEmailIn Security & Compliance PowerShell, this parameter requires the Export role.
-NotifyEmailCCIn Security & Compliance PowerShell, this parameter requires the Export role.
-PreviewIn Security & Compliance PowerShell, this parameter requires the Preview role.
-PurgeThe Purge switch specifies the action for the content search is to remove items that match the search criteria.
-PurgeTypeThe PurgeType parameter specifies how to remove items when the action is Purge.
-ReferenceActionNameThis parameter is reserved for internal Microsoft use.
-RegionThis parameter is reserved for internal Microsoft use.
-ReportThe Report switch specifies the action for the content search is to export a report about the results (information about each item instead of the full set of results) that match the search criteria.
-RetentionReportThe RetentionReport switch specifies the action for the content search is to export a retention report.
-RetryOnErrorThe RetryOnError switch specifies whether to retry the action on any items that failed without re-running the entire action all over again.
-ScenarioIn Security & Compliance PowerShell, this parameter requires the Preview role.
-ScopeThe Scope parameter specifies the items to include when the action is Export.
-SearchNamesThe SearchNames parameter specifies the names of the existing content searches to associate with the content search action.
-SharePointArchiveFormatThis parameter requires the Export role.
-ShareRootPath
-VersionThis parameter is reserved for internal Microsoft use.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.