Skip to content

Commit e15f4a7

Browse files
authored
Merge pull request #10730 from MicrosoftDocs/chrisda
Chrisda to Main
2 parents 00dfb37 + 121efec commit e15f4a7

File tree

2 files changed

+62
-0
lines changed

2 files changed

+62
-0
lines changed

exchange/exchange-ps/exchange/Delete-QuarantineMessage.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Delete-QuarantineMessage -Identities <QuarantineMessageIdentity[]>
2626
[-Identity <QuarantineMessageIdentity>]
2727
[-Confirm]
2828
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
29+
[-HardDelete]
2930
[-RecipientAddress <String[]>]
3031
[-WhatIf]
3132
[<CommonParameters>]
@@ -36,6 +37,7 @@ Delete-QuarantineMessage -Identities <QuarantineMessageIdentity[]>
3637
Delete-QuarantineMessage -Identity <QuarantineMessageIdentity>
3738
[-Confirm]
3839
[-EntityType <Microsoft.Exchange.Management.FfoQuarantine.EntityType>]
40+
[-HardDelete]
3941
[-RecipientAddress <String[]>]
4042
[-WhatIf]
4143
[<CommonParameters>]
@@ -162,6 +164,24 @@ Accept pipeline input: False
162164
Accept wildcard characters: False
163165
```
164166

167+
### -HardDelete
168+
The HardDelete switch specifies the message is permanently deleted and isn't recoverable. You don't need to specify a value with this switch.
169+
170+
If you don't use this switch, the message is deleted, but is potentially recoverable.
171+
172+
```yaml
173+
Type: SwitchParameter
174+
Parameter Sets: (All)
175+
Aliases:
176+
Applicable: Exchange Online, Security & Compliance
177+
178+
Required: False
179+
Position: Named
180+
Default value: None
181+
Accept pipeline input: False
182+
Accept wildcard characters: False
183+
```
184+
165185
### -RecipientAddress
166186
The RecipientAddress parameter filters the results by the recipient's email address. You can specify multiple values separated by commas.
167187

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)