CmdID / PowerShell / Cmdlets / Set
Set-M365DataAtRestEncryptionPolicyAssignment
Use the Set-M365DataAtRestEncryptionPolicyAssignment cmdlet to assign a Microsoft 365 data-at-rest encryption policy at the tenant level. Exchange PowerShell reference
From the Exchange PowerShell reference 1 parameter Its page in the reference
Parameters
-DataEncryptionPolicyThe DataEncryptionPolicy parameter specifies the Microsoft 365 data-at-rest encryption policy.