CmdID / PowerShell / Cmdlets / New
New-AutoSensitivityLabelPolicy
Use the New-AutoSensitivityLabelPolicy cmdlet to create auto-labeling policies in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 35 parameters Its page in the reference
Parameters
Show its 35 parameters
-NameThe Name parameter specifies a unique name for the auto-labeling policy.-ApplySensitivityLabelThe ApplySensitivityLabel parameter specifies the label to apply with the auto-labeling policy.-ApplySensitivityLabelOverwriteWorkloads-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-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-ExchangeLocationThe ExchangeLocation parameter specifies whether to include email messages in the policy.-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-OneDriveLocationThe OneDriveLocation parameter specifies the OneDrive sites to include in the policy.-OneDriveLocationExceptionThis parameter specifies the OneDrive sites to exclude when you use the value All for the OneDriveLocation parameter.-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 the priority of the policy.-RemoveLabelThe RemoveLabel switch specifies that the auto-labeling policy removes an existing sensitivity label from matching content in SharePoint Online or OneDrive, including labels that users manually appli…-SharePointAdaptiveScopes-SharePointAdaptiveScopesException-SharePointLocationThe SharePointLocation parameter specifies the SharePoint sites to include in the policy.-SharePointLocationExceptionThis parameter specifies the SharePoint sites to exclude when you use the value All for the SharePointLocation parameter.-UnifiedAuditLogEnabled-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.