CmdID / PowerShell / Cmdlets / Set
Set-AutoSensitivityLabelRule
Use the Set-AutoSensitivityLabelPolicy cmdlet to modify auto-labeling policy rules in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 60 parameters Its page in the reference
Parameters
Show its 60 parameters
-IdentityThe Identity parameter specifies the auto-labeling policy rule that you want to modify.-AccessScopeThe AccessScope parameter specifies a condition for the auto-labeling policy rule that's based on the access scope of the content.-ActivationDate-AdvancedRule-AnyOfRecipientAddressContainsWordsThe AnyOfRecipientAddressContainsWords parameter specifies a condition for the auto-labeling policy rule that looks for words or phrases in recipient email addresses.-AnyOfRecipientAddressMatchesPatternsThe AnyOfRecipientAddressMatchesPatterns parameter specifies a condition for the auto-labeling policy rule that looks for text patterns in recipient email addresses by using regular expressions.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-ContentContainsSensitiveInformationThe ContentContainsSensitiveInformation parameter specifies a condition for the rule that's based on a sensitive information type match in content.-ContentExtensionMatchesWordsThe ContentExtensionMatchesWords parameter specifies a condition for the auto-labeling policy rule that looks for words in file name extensions.-ContentPropertyContainsWordsThe ContentPropertyContainsWords parameter specifies a condition for the auto-labeling policy rule that's based on a property match in content.-DefaultSpoDocLibraryHasLabel-DisabledThe Disabled parameter specifies whether the case hold rule is enabled or disabled.-DocumentCreatedBy-DocumentIsPasswordProtectedThe DocumentIsPasswordProtected parameter specifies a condition for the auto-labeling policy rule that looks for password protected files (because the contents of the file can't be inspected).-DocumentIsUnsupportedThe DocumentIsUnsupported parameter specifies a condition for the auto-labeling policy rule that looks for files that can't be scanned.-DocumentNameMatchesWordsThe DocumentNameMatchesWords parameter specifies a condition for the auto-labeling policy rule that looks for whole word matches in the name of message attachments.-DocumentSizeOverThe DocumentSizeOver parameter specifies a condition for the auto-labeling policy rule that looks for messages where any attachment is greater than the specified size.-ExceptIfAccessScopeThe ExceptIfAccessScopeAccessScope parameter specifies an exception for the auto-labeling policy rule that's based on the access scope of the content.-ExceptIfAnyOfRecipientAddressContainsWordsThe ExceptIfAnyOfRecipientAddressContainsWords parameter specifies an exception for the auto-labeling policy rule that looks for words or phrases in recipient email addresses.-ExceptIfAnyOfRecipientAddressMatchesPatternsThe ExceptIfAnyOfRecipientAddressMatchesPatterns parameter specifies an exception for the auto-labeling policy rule that looks for text patterns in recipient email addresses by using regular expressi…-ExceptIfContentContainsSensitiveInformationThe ExceptIfContentContainsSensitiveInformation parameter specifies an exception for the auto-labeling policy rule that's based on a sensitive information type match in content.-ExceptIfContentExtensionMatchesWordsThe ExceptIfContentExtensionMatchesWords parameter specifies an exception for the auto-labeling policy rule that looks for words in file name extensions.-ExceptIfContentPropertyContainsWordsThe ExceptIfContentPropertyContainsWords parameter specifies an exception for the auto-labeling policy rule that's based on a property match in content.-ExceptIfDocumentCreatedBy-ExceptIfDocumentIsPasswordProtectedThe ExceptIfDocumentIsPasswordProtected parameter specifies an exception for the auto-labeling policy rule that looks for password protected files (because the contents of the file can't be inspected…-ExceptIfDocumentIsUnsupportedThe ExceptIfDocumentIsUnsupported parameter specifies an exception for the auto-labeling policy rule that looks for files that can't be scanned.-ExceptIfDocumentNameMatchesWordsThe ExceptIfDocumentNameMatchesWords parameter specifies an exception for the auto-labeling policy rule that looks for words or phrases in the name of message attachments.-ExceptIfDocumentSizeOverThe ExceptIfDocumentSizeOver parameter specifies an exception for the auto-labeling policy rule that looks for messages where any attachment is greater than the specified size.-ExceptIfFromThe ExceptIfFrom parameter specifies an exception for the auto-labeling policy rule that looks for messages from specific senders.-ExceptIfFromAddressContainsWordsThe ExceptIfFromAddressContainsWords parameter specifies an exception for the auto-labeling policy rule that looks for words or phrases in the sender's email address.-ExceptIfFromAddressMatchesPatternsThe ExceptIfFromAddressMatchesPatterns parameter specifies an exception for the auto-labeling policy rule that looks for text patterns in the sender's email address by using regular expressions.-ExceptIfFromMemberOfThe ExceptIfFromMemberOf parameter specifies an exception for the auto-labeling policy rule that looks for messages sent by group members.-ExceptIfHeaderMatchesPatternsThe HeaderMatchesPatterns parameter specifies an exception for the auto-labeling policy rule that looks for text patterns in a header field by using regular expressions.-ExceptIfProcessingLimitExceededThe ExceptIfProcessingLimitExceeded parameter specifies an exception for the auto-labeling policy rule that looks for files where scanning couldn't complete.-ExceptIfRecipientDomainIsThe ExceptIfRecipientDomainIs parameter specifies an exception for the auto-labeling policy rule that looks for recipients with email addresses in the specified domains.-ExceptIfSenderDomainIsThe ExceptIfSenderDomainIs parameter specifies an exception for the auto-labeling policy rule that looks for messages from senders with email address in the specified domains.-ExceptIfSenderIPRangesThe ExceptIfSenderIpRanges parameter specifies an exception for the auto-labeling policy rule that looks for senders whose IP addresses matches the specified value, or fall within the specified range…-ExceptIfSentToThe ExceptIfSentTo parameter specifies an exception for the auto-labeling policy rule that looks for recipients in messages.-ExceptIfSentToMemberOfThe ExceptIfSentToMemberOf parameter specifies an exception for the auto-labeling policy rule that looks for messages sent to members of distribution groups, dynamic distribution groups, or mail-enab…-ExceptIfSubjectMatchesPatternsThe ExceptIfSubjectMatchesPatterns parameter specifies an exception for the auto-labeling policy rule that looks for text patterns in the Subject field of messages by using regular expressions.-ExpiryDateThis parameter is reserved for internal Microsoft use.-FromThis parameter is reserved for internal Microsoft use.-FromAddressContainsWordsThe FromAddressContainsWords parameter specifies a condition for the auto-labeling policy rule that looks for words or phrases in the sender's email address.-FromAddressMatchesPatternsThe FromAddressMatchesPatterns parameter specifies a condition for the auto-labeling policy rule that looks for text patterns in the sender's email address by using regular expressions.-FromMemberOfThis parameter is reserved for internal Microsoft use.-HeaderMatchesPatternsThe HeaderMatchesPatterns parameter specifies a condition for the auto-labeling policy rule that looks for text patterns in a header field by using regular expressions.-PriorityThis parameter is reserved for internal Microsoft use.-ProcessingLimitExceededThe ProcessingLimitExceeded parameter specifies a condition for the auto-labeling policy rule that looks for files where scanning couldn't complete.-RecipientDomainIsThe RecipientDomainIs parameter specifies a condition for the auto-labeling policy rule that looks for recipients with email addresses in the specified domains.-ReportSeverityLevelThe ReportSeverityLevel parameter specifies the severity level of the incident report for content detections based on the rule.-RuleErrorActionThe RuleErrorAction parameter specifies what to do if an error is encountered during the evaluation of the rule.-SenderDomainIsThe SenderDomainIs parameter specifies a condition for the auto-labeling policy rule that looks for messages from senders with email address in the specified domains.-SenderIPRangesThe SenderIpRanges parameter specifies a condition for the auto-sensitivity policy rule that looks for senders whose IP addresses matches the specified value, or fall within the specified ranges.-SentToThe SentTo parameter specifies a condition for the auto-sensitivity policy rule that looks for recipients in messages.-SentToMemberOfThe SentToMemberOf parameter specifies a condition for the auto-labeling policy rule that looks for messages sent to members of distribution groups, dynamic distribution groups, or mail-enabled secur…-SourceType-SubjectMatchesPatternsThe SubjectMatchesPatterns parameter specifies a condition for the auto-labeling policy rule that looks for text patterns in the Subject field of messages by using regular expressions.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.-WorkloadThe Workload parameter specifies the workload.