@@ -28,6 +28,8 @@ Export-QuarantineMessage -Identities <QuarantineMessageIdentity[]> [-Identity <Q
28
28
[-CompressOutput]
29
29
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
30
30
[-ForceConversionToMime]
31
+ [-Password <SecureString>]
32
+ [-ReasonForExport <String>]
31
33
[-RecipientAddress <String>]
32
34
[<CommonParameters>]
33
35
```
@@ -38,6 +40,8 @@ Export-QuarantineMessage -Identity <QuarantineMessageIdentity>
38
40
[-CompressOutput]
39
41
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
40
42
[-ForceConversionToMime]
43
+ [-Password <SecureString>]
44
+ [-ReasonForExport <String>]
41
45
[-RecipientAddress <String>]
42
46
[<CommonParameters>]
43
47
```
@@ -189,6 +193,44 @@ Accept pipeline input: False
189
193
Accept wildcard characters: False
190
194
` ` `
191
195
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
+
192
234
# ## -RecipientAddress
193
235
The RecipientAddress parameter filters the results by the recipient's email address. You can specify multiple values separated by commas.
194
236
0 commit comments