Skip to content

[AutoPublish] main to live - 04/25 15:33 PDT | 04/26 04:03 IST #12701

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions exchange/exchange-ps/exchange/Export-QuarantineMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Export-QuarantineMessage -Identities <QuarantineMessageIdentity[]> [-Identity <Q
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
[-ForceConversionToMime]
[-Password <SecureString>]
[-PasswordV2 <String>]
[-ReasonForExport <String>]
[-RecipientAddress <String>]
[<CommonParameters>]
Expand All @@ -41,6 +42,7 @@ Export-QuarantineMessage -Identity <QuarantineMessageIdentity>
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
[-ForceConversionToMime]
[-Password <SecureString>]
[-PasswordV2 <String>]
[-ReasonForExport <String>]
[-RecipientAddress <String>]
[<CommonParameters>]
Expand Down Expand Up @@ -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)
Expand 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, `'<password>'`).

```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 (").

Expand Down