CmdID / PowerShell / Cmdlets / Set
Set-OMEConfiguration
Use the Set-OMEConfiguration cmdlet to configure Microsoft Purview Message Encryption. Exchange PowerShell reference
From the Exchange PowerShell reference 14 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the OME configuration that you want to modify.-BackgroundColorThe BackgroundColor parameter specifies the background color.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DisclaimerTextThe DisclaimerText parameter specifies the disclaimer text in the email that contains the encrypted message.-EmailTextThe EmailText parameter specifies the default text that accompanies encrypted email messages.-ExternalMailExpiryInDaysThe ExternalMailExpiryInDays parameter specifies the number of days that the encrypted message is available to external recipients in the Microsoft 365 portal.-ImageThe Image parameter identifies and uploads an image to be displayed in the email message and in the Microsoft 365 admin center.-IntroductionTextThe IntroductionText parameter specifies the text that appears next to the sender's name and email address.-OTPEnabledThe OTPEnabled parameter specifies whether to allow recipients to use a one-time passcode to view encrypted messages.-PortalTextThe PortalText parameter specifies the text that appears at the top of the encrypted mail viewing portal.-PrivacyStatementUrlThe PrivacyStatementUrl parameter specifies the Privacy Statement link in the encrypted email notification message.-ReadButtonTextThe ReadButtonText parameter specifies the text that appears on the "Read the message" button.-SocialIdSignInThe SocialIdSignIn parameter specifies whether a user is allowed to view an encrypted message in the Microsoft 365 admin center using their own social network id (Google, Yahoo, and Microsoft account…-WhatIf, -wiThis parameter is reserved for internal Microsoft use.