diff --git a/exchange/exchange-ps/exchange/Export-QuarantineMessage.md b/exchange/exchange-ps/exchange/Export-QuarantineMessage.md index 08ea9afcf1..f20bb9e7c2 100644 --- a/exchange/exchange-ps/exchange/Export-QuarantineMessage.md +++ b/exchange/exchange-ps/exchange/Export-QuarantineMessage.md @@ -29,6 +29,7 @@ Export-QuarantineMessage -Identities [-Identity ] [-ForceConversionToMime] [-Password ] + [-PasswordV2 ] [-ReasonForExport ] [-RecipientAddress ] [] @@ -41,6 +42,7 @@ Export-QuarantineMessage -Identity [-EntityType ] [-ForceConversionToMime] [-Password ] + [-PasswordV2 ] [-ReasonForExport ] [-RecipientAddress ] [] @@ -202,6 +204,8 @@ You can use the following methods as a value for this parameter: - Before you run this command, store the password as a variable (for example, `$password = Read-Host "Enter password" -AsSecureString`), and then use the variable (`$password`) for the value. - `(Get-Credential).password` to be prompted to enter the password securely when you run this command. +To enter the password in plain text, use the PasswordV2 parameter. + ```yaml Type: SecureString Parameter Sets: (All) @@ -215,6 +219,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -PasswordV2 +The PasswordV2 parameter specifies the plain text value of the password that's required to open the exported message. Enclose the value in quotation marks (for example, `''`). + +```yaml +Type: String +Parameter Sets: (All) +Aliases: +Applicable: Exchange Online, Security & Compliance, Exchange Online Protection + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ReasonForExport The ReasonForExport parameter specifies why the message was exported. If the value contains spaces, enclose the value in quotation marks (").