CmdID / PowerShell / Cmdlets / Set
Set-M365DataAtRestEncryptionPolicy
Use the Set-M365DataAtRestEncryptionPolicy cmdlet to modify Microsoft 365 data-at-rest encryption policies in Exchange Online. Exchange PowerShell reference
From the Exchange PowerShell reference 11 parameters Its page in the reference
Parameters
-AzureKeyIDs-IdentityThe Identity parameter specifies the data-at-rest encryption policy that you want to modify.-Replace-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DescriptionThe Description parameter specifies an optional description for the policy.-DomainControllerThis parameter is reserved for internal Microsoft use.-EnabledThe Enabled parameter specifies whether the policy is enabled or disabled.-ForceThe Force switch hides warning or confirmation messages.-NameThe Name parameter specifies a unique name for the Microsoft 365 data-at-rest encryption policy.-RefreshUse the Refresh switch to update the Microsoft 365 data-at-rest encryption policy in Exchange Online after you rotate any of the associated keys in the Azure Key Vault.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.