CmdID

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

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

4 in the Exchange PowerShell reference
-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.