CmdID / PowerShell / Cmdlets / Get
Get-M365DataAtRestEncryptionPolicyAssignment
Use the Get-M365DataAtRestEncryptionPolicyAssignment cmdlet to view the currently assigned Microsoft 365 data-at-rest encryption policy. Exchange PowerShell reference
From the Exchange PowerShell reference Its page in the reference