CmdID

CmdID / PowerShell / Cmdlets / Set

Set-DeviceConditionalAccessPolicy

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

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

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

Parameters

7 in the Exchange PowerShell reference
-IdentityThe Identity parameter specifies the mobile device conditional access policy that you want to modify.
-RetryDistributionThis parameter is reserved for internal Microsoft use.
-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.