CmdID / PowerShell / Cmdlets / Get
Get-DeviceTenantRule
Use the Get-DeviceTenantRule cmdlet to view your organization's mobile device tenant rule in Basic Mobility and Security in Microsoft 365. Exchange PowerShell reference
From the Exchange PowerShell reference 2 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the name of the mobile device tenant rule that you want to view, but there's only one in your organization.-DomainControllerThis parameter is reserved for internal Microsoft use.