Export (0) Print
Expand All
Expand Minimize

Release-QuarantineMessage

Exchange 2013
 

Applies to: Exchange Online Protection, Exchange Online

Topic Last Modified: 2013-01-08

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

Use the ReleaseQuarantineMessages to release quarantined messages into the transport pipeline in your cloud-based organization.

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

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 all quarantined copies of the message with the Message-ID <5c695d7e-6642-4681-a4b0-9e7a86613cb7@contoso.com> into the transport pipeline.

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

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 you want to release into the transport pipeline. 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 of the message. 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. If you previously used the ReleaseToAll switch to release the quarantined message to all of the 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 the ReportFalsePositive 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:
© 2014 Microsoft