CmdID / PowerShell / Cmdlets / Test
Test-M365DataAtRestEncryptionPolicy
Use the Test-M365DataAtRestEncryptionPolicy cmdlet to test an existing Microsoft 365 data-at-rest encryption policy. Exchange PowerShell reference
From the Exchange PowerShell reference 4 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the Microsoft 365 data-at-rest encryption policy that you want to test.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThis parameter is reserved for internal Microsoft use.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.