CmdID

CmdID / PowerShell / Cmdlets / Set

Set-DeviceTenantPolicy

Use the Set-DeviceTenantPolicy cmdlet to modify your organization's mobile device tenant policy 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
-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.
-IdentityThe Identity parameter specifies the name of the mobile device tenant policy that you want to modify, but there's only one in your organization.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.