CmdID / PowerShell / Cmdlets / New
New-SensitiveInformationScanRule
Use the New-SensitiveInformationScan cmdlet to create sensitive information scan rules. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-NameThe Name parameter specifes the unique rule name for the scan.-PolicyThe Policy parameter specifies the name of the parent scan policy for this rule.-WorkloadThe Workload parameter specifies the workload.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ContentCreatedOrUpdatedDateFromThe ContentCreatedOrUpdatedDateFrom parameter specifies the earliest modification date-time of files that are considered in scope of this scan.-ContentCreatedOrUpdatedDateToThe ContentCreatedOrUpdatedDateTo parameter specifies the latest modification date-time of files that are considered in scope of this scan.-ContentExtensionMatchesWordsThe ContentExtensionMatchesWords parameter specifies a condition for the rule that looks for words in file extensions.-ContentPropertyContainsWordsThe ContentPropertyContainsWords parameter specifies a condition for the rule that's based on a property match in content.-ExceptIfContentExtensionMatchesWordsThe ExceptIfContentExtensionMatchesWords parameter specifies an exception for the rule that looks for words in file extensions.-ExceptIfContentPropertyContainsWordsThe ExceptIfContentPropertyContainsWords parameter specifies an exception for the rule that's based on a property match in content.-StartImpactAssessmentThe StartImpactAssessment parameter specifies whether to start a scan estimation.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.