CmdID / PowerShell / Cmdlets / Get
Get-DevicePolicy
Use the Get-DevicePolicy cmdlet to view all types of Basic Mobility and Security policies in Microsoft 365. Exchange PowerShell reference
From the Exchange PowerShell reference 1 parameter Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mobile device policy that you want to view.