Skip to content

Commit 121efec

Browse files
committed
Update Export-QuarantineMessage.md
Added Password and ReasonForExport params
1 parent d0ee9e0 commit 121efec

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

exchange/exchange-ps/exchange/Export-QuarantineMessage.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Export-QuarantineMessage -Identities <QuarantineMessageIdentity[]> [-Identity <Q
2828
[-CompressOutput]
2929
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
3030
[-ForceConversionToMime]
31+
[-Password <SecureString>]
32+
[-ReasonForExport <String>]
3133
[-RecipientAddress <String>]
3234
[<CommonParameters>]
3335
```
@@ -38,6 +40,8 @@ Export-QuarantineMessage -Identity <QuarantineMessageIdentity>
3840
[-CompressOutput]
3941
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
4042
[-ForceConversionToMime]
43+
[-Password <SecureString>]
44+
[-ReasonForExport <String>]
4145
[-RecipientAddress <String>]
4246
[<CommonParameters>]
4347
```
@@ -189,6 +193,44 @@ Accept pipeline input: False
189193
Accept wildcard characters: False
190194
```
191195

196+
### -Password
197+
The Password parameter specifies the password that's required to open the exported message.
198+
199+
You can use the following methods as a value for this parameter:
200+
201+
- `(ConvertTo-SecureString -String '<password>' -AsPlainText -Force)`.
202+
- 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.
203+
- `(Get-Credential).password` to be prompted to enter the password securely when you run this command.
204+
205+
```yaml
206+
Type: SecureString
207+
Parameter Sets: (All)
208+
Aliases:
209+
Applicable: Exchange Online, Security & Compliance
210+
211+
Required: False
212+
Position: Named
213+
Default value: None
214+
Accept pipeline input: False
215+
Accept wildcard characters: False
216+
```
217+
218+
### -ReasonForExport
219+
The ReasonForExport parameter specifies why the message was exported. If the value contains spaces, enclose the value in quotation marks (").
220+
221+
```yaml
222+
Type: String
223+
Parameter Sets: (All)
224+
Aliases:
225+
Applicable: Exchange Online, Security & Compliance
226+
227+
Required: False
228+
Position: Named
229+
Default value: None
230+
Accept pipeline input: False
231+
Accept wildcard characters: False
232+
```
233+
192234
### -RecipientAddress
193235
The RecipientAddress parameter filters the results by the recipient's email address. You can specify multiple values separated by commas.
194236

0 commit comments

Comments
 (0)