CmdID

CmdID / PowerShell / Cmdlets / New

New-DeviceConditionalAccessPolicy

Use the New-DeviceConditionalAccessPolicy cmdlet to create mobile device conditional access policies in Basic Mobility and Security in Microsoft 365. Exchange PowerShell reference

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

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

Parameters

6 in the Exchange PowerShell reference
-NameThe Name parameter specifies a unique name for 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 specifies whether the policy is enabled.
-ForceThe Force switch hides warning or confirmation messages.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.