CmdID

CmdID / PowerShell / Cmdlets / New

New-CaseHoldPolicy

Use the New-CaseHoldPolicy cmdlet to create new case hold policies in the Microsoft Purview compliance portal. Exchange PowerShell reference

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

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

Parameters

10 in the Exchange PowerShell reference
-NameThe Name parameter specifies the unique name of the case hold policy.
-CaseThe Case parameter specifies the eDiscovery case that you want to associate with the case hold policy.
-CommentThe Comment parameter specifies an optional comment.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-EnabledThe Enabled parameter specifies whether the policy is enabled or disabled.
-ExchangeLocationThe ExchangeLocation parameter specifies the mailboxes to include in the policy.
-ForceThe Force switch hides warning or confirmation messages.
-PublicFolderLocationThe PublicFolderLocation parameter specifies that you want to include all public folders in the case hold policy.
-SharePointLocationThe SharePointLocation parameter specifies the SharePoint and OneDrive sites to include.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.