CmdID / PowerShell / Cmdlets / Get
Get-DeviceConfigurationRule
Use the Get-DeviceConfigurationRule cmdlet to view mobile device configuration rules in Basic Mobility and Security in Microsoft 365. Exchange PowerShell reference
From the Exchange PowerShell reference 3 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mobile device configuration rule that you want to view.-CompareToWorkloadThe CompareToWorkload switch specifies whether to compare the mobile device configuration rule to Intune rules.-DomainControllerThis parameter is reserved for internal Microsoft use.