CmdID

CmdID / PowerShell / Cmdlets / Set

Set-AutoSensitivityLabelPolicy

Use the Set-AutoSensitivityLabelPolicy cmdlet to modify auto-labeling policies in your organization. Exchange PowerShell reference

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

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

Parameters

43 in the Exchange PowerShell reference
Show its 43 parameters
-IdentityThe Identity parameter specifies the auto-labeling policy that you want to modify.
-AddExchangeLocationThe AddExchangeLocation parameter adds email messages to the policy if they aren't already included.
-AddOneDriveLocationThe AddOneDriveLocation parameter specifies the OneDrive sites to add to the list of included sites when you aren't using the value All for the OneDriveLocation parameter.
-AddOneDriveLocationExceptionThe AddOneDriveLocationException parameter specifies the OneDrive sites to add to the list of excluded sites when you use the value All for the OneDriveLocation parameter.
-AddSharePointLocationThe AddSharePointLocation parameter specifies the SharePoint sites to add to the list of included sites when you aren't using the value All for the SharePointLocation parameter.
-AddSharePointLocationExceptionThe AddSharePointLocationException parameter specifies the SharePoint sites to add to the list of excluded sites when you use the value All for the SharePointLocation parameter.
-ApplySensitivityLabelThe ApplySensitivityLabel parameter selects the label to use for the policy.
-ApplySensitivityLabelOverwriteWorkloads
-AutoEnableAfterThe AutoEnableAfter parameter allows you to automatically turn on the policy after a set time period in simulation with no modifications to the policy.
-CommentThe Comment parameter specifies an optional comment.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-EnabledThe Enabled parameter enables or disables the policy.
-ExceptIfOneDriveSharedByThe ExceptIfOneDriveSharedBy parameter specifies the users to exclude from the policy (the sites of the OneDrive user accounts are included in the policy).
-ExceptIfOneDriveSharedByMemberOf
-ExchangeAdaptiveScopes
-ExchangeAdaptiveScopesException
-ExchangeSenderThe ExchangeSender parameter specifies the users whose email is included in the policy.
-ExchangeSenderExceptionThe ExchangeSenderException parameter specifies the internal users whose email is excluded from the policy.
-ExchangeSenderMemberOfThe ExchangeSenderMemberOf parameter specifies the distribution groups or mail-enabled security groups to include in the policy (email of the group members is included in the policy).
-ExchangeSenderMemberOfExceptionThe ExchangeSenderMemberOfException parameter specifies the distribution groups or mail-enabled security groups to exclude from the policy (email of the group members is excluded from the policy).
-ExternalMailRightsManagementOwnerThe ExternalMailRightsManagementOwner parameter specifies the email address of a user mailbox that's used to encrypt incoming email messages from external senders using RMS.
-ForceThe Force switch hides warning or confirmation messages.
-Locations
-ModeThe Mode parameter specifies the action and notification level of the auto-labeling policy.
-OneDriveAdaptiveScopes
-OneDriveAdaptiveScopesException
-OneDriveSharedByThe OneDriveSharedBy parameter specifies the users to include in the policy (the sites of the OneDrive user accounts are included in the policy).
-OneDriveSharedByMemberOf
-OverwriteLabelThe OverwriteLabel parameter specifies whether to overwrite a manual label.
-PolicyRBACScopesThe PolicyRBACScopes parameter specifies the administrative units to assign to the policy.
-PolicyTemplateInfoThis parameter is reserved for internal Microsoft use.
-PriorityThe Priority parameter specifies a priority value for the policy that determines the order of policy processing.
-RemoveExchangeLocationThe RemoveExchangeLocation parameter removes email messages from the policy if they're already included.
-RemoveOneDriveLocationThe RemoveOneDriveLocation parameter specifies the OneDrive sites to remove from the list of included sites when you aren't using the value All for the OneDriveLocation parameter.
-RemoveOneDriveLocationExceptionThis RemoveOneDriveLocationException parameter specifies the OneDrive sites to remove from the list of excluded sites when you use the value All for the OneDriveLocation parameter.
-RemoveSharePointLocationThe RemoveSharePointLocation parameter specifies the SharePoint sites to remove from the list of included sites when you aren't using the value All for the SharePointLocation parameter.
-RemoveSharePointLocationExceptionThe RemoveSharePointLocationException parameter specifies the SharePoint sites to remove from the list of excluded sites when you use the value All for the SharePointLocation parameter.
-RetryDistributionThe RetryDistribution switch redistributes the policy to all OneDrive and SharePoint locations.
-SharePointAdaptiveScopes
-SharePointAdaptiveScopesException
-SpoAipIntegrationEnabledThe SpoAipIntegrationEnabled parameter enables or disables built-in labeling for supported Office files in SharePoint and OneDrive.
-StartSimulationUse the StartSimulation parameter to restart the simulation for updated results.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.