CmdID / PowerShell / Cmdlets / New
New-DeviceTenantRule
Use the New-DeviceTenantRule cmdlet to create your organization's mobile device tenant rule in Basic Mobility and Security in Microsoft 365. Exchange PowerShell reference
From the Exchange PowerShell reference 6 parameters Its page in the reference
Parameters
-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.