Export (0) Print
Expand All
Expand Minimize

Release-QuarantineMessage

Exchange Online
 

Applies to: Exchange Online, Exchange Online Protection

Topic Last Modified: 2015-02-27

This cmdlet is available only in the cloud-based service.

Use the Release-QuarantineMessage cmdlet to release messages from quarantine in your cloud-based organization. You can release messages to all original recipients, or to specific recipients.

For information about the parameter sets in the Syntax section below, see Syntax.

Release-QuarantineMessage <COMMON PARAMETERS>

Release-QuarantineMessage -User <String[]> <COMMON PARAMETERS>

Release-QuarantineMessage -ReleaseToAll <SwitchParameter> <COMMON PARAMETERS>

COMMON PARAMETERS: -Identity <String> [-Confirm [<SwitchParameter>]] [-Organization <OrganizationIdParameter>] [-ReportFalsePositive <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

This example releases the quarantined message <5c695d7e-6642-4681-a4b0-9e7a86613cb7@contoso.com> to an original recipient julia@contoso.com.

Get-QuarantineMessage -MessageID "<5c695d7e-6642-4681-a4b0-9e7a86613cb7@contoso.com>" | Release-QuarantineMessage -User julia@contoso.com

This example releases the quarantined message <5c695d7e-6642-4681-a4b0-9e7a86613cb7@contoso.com> to all original recipients.

Get-QuarantineMessage -MessageID "<5c695d7e-6642-4681-a4b0-9e7a86613cb7@contoso.com>" | Release-QuarantineMessage -ReleaseToAll

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Anti-spam" entry in the Feature permissions in Exchange Online topic.

 

Parameter Required Type Description

Identity

Required

System.String

The Identity parameter specifies the quarantined message that you want to release. The value of Identity is a unique message identifier that's used by the Get-QuarantineMessage and Release-QuarantineMessage cmdlets.

ReleaseToAll

Required

System.Management.Automation.SwitchParameter

The ReleaseToAll switch releases the quarantined message to all original recipients. You don't have to specify a value with this switch.

If you previously used the User parameter or the ReleaseToAll switch to release the quarantined message to some or all of the original recipients, those recipients are skipped when you use the ReleaseToAll parameter again. You don't have to specify a value with the ReleaseToAll switch.

You can't use the ReleaseToAll switch and the User parameter in the same command.

User

Required

System.String[]

The User parameter specifies the email address of the user to whom you want to release the quarantined message. You can specify multiple email addresses separated by commas.

The message is released only to the recipients specified by this parameter. If you want the message released to recipients who are also administrators, be sure to include them in the list.

If you previously used the ReleaseToAll switch to release the quarantined message to all original recipients, and you later release the message again with the User parameter, any original recipients you specify with the User parameter are skipped.

If you want to report the message as a false positive, don't specify the User parameter when you release the quarantined message.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

ReportFalsePositive

Optional

System.Management.Automation.SwitchParameter

The ReportFalsePositive switch sends a notification message indicating the specified message was not spam. This switch is only available for quarantined spam messages. You don't have to specify a value with this switch.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft