CmdID / PowerShell / Cmdlets / New
New-SensitiveInformationScan
Use the New-SensitiveInformationScan cmdlet to create new on-demand classification scans. Exchange PowerShell reference
From the Exchange PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-NameThe Name parameter specifies the unique name of the scan.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-EndpointDlpLocationThe EndpointDLPLocation parameter specifies the user accounts to include in scan for devices.-EndpointDlpLocationExceptionThe EndpointDlpLocationException parameter specifies the user accounts to exclude in an on-demand classification scan for devices.-ExceptIfOneDriveSharedByThe ExceptIfOneDriveSharedBy parameter specifies the users to exclude from the scan (the sites of the OneDrive user accounts are included in the scan).-ExceptIfOneDriveSharedByMemberOfThe ExceptIfOneDriveSharedByMemberOf parameter specifies the distribution groups or mail-enabled security groups to exclude from the scan (the OneDrive sites of group members are excluded from the sc…-ExchangeLocationThis parameter is reserved for internal Microsoft use.-ExchangeSenderThis parameter is reserved for internal Microsoft use.-ExchangeSenderExceptionThis parameter is reserved for internal Microsoft use.-ExchangeSenderMemberOfThis parameter is reserved for internal Microsoft use.-ExchangeSenderMemberOfExceptionThis parameter is reserved for internal Microsoft use.-OneDriveLocationThis parameter is reserved for internal Microsoft use.-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 scan (the sites of the OneDrive user accounts are included in the scan).-OneDriveSharedByMemberOfThe OneDriveSharedByMemberOf parameter specifies the distribution groups or mail-enabled security groups to include in the scan (the OneDrive sites of group members are included in the scan).-PolicyRBACScopesThis parameter is reserved for internal Microsoft use.-SharePointLocationThe SharePointLocation parameter specifies the SharePoint sites to include in the scan.-SharePointLocationExceptionThe SharePointLocationException parameter specifies the SharePoint sites to exclude when you use the value All for the SharePointLocation parameter.-TeamsLocationThis parameter is reserved for internal Microsoft use.-TeamsLocationExceptionThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.