CmdID

CmdID / PowerShell / Cmdlets / Set

Set-DeviceTenantRule

Use the Set-DeviceTenantRule cmdlet to modify your organization's mobile device tenant rule 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 name of the mobile device tenant rule that you want to modify, but there's only one in your organization.
-ApplyPolicyToThe ApplyPolicyTo parameter specifies where to apply the policy in your organization.
-BlockUnsupportedDevicesThe BlockUnsupportedDevices parameter specifies whether to block access to your organization by unsupported devices.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-DomainControllerThis parameter is reserved for internal Microsoft use.
-ExclusionListThe ExclusionList parameter specifies the security groups to exclude from this policy.
-WhatIf, -wiThe WhatIf switch doesn't work in Security & Compliance PowerShell.