Export (0) Print
Expand All
Expand Minimize

Get-QuarantineMessageHeader

Exchange 2013
 

Applies to: Exchange Online

Topic Last Modified: 2014-03-27

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

Use the Get-QuarantineMessageHeader cmdlet to view the message header of a quarantined message. The cmdlet will fail if the specified message is not in quarantine.

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

Get-QuarantineMessageHeader -Identity <String> [-Organization <OrganizationIdParameter>]

The following example displays the message header for the specified message that's in quarantine. The Identity value shown is an example, and needs to be replaced by an identity provided by the Get-QuarantineMessage cmdlet.

Get-QuarantineMessageHeader 65ab8c7d-dcd3-4067-7c60-08d116c001c3\8b677327-0ef3-166b-e108-ff6cb380d191

The following example passes the identity of the first message returned by Get-QuarantineMessage to Get-QuarantineMessageHeader.

$qMessages = Get-QuarantineMessage
Get-QuarantineMessageHeader $qMessages[0].Identity

Standard SMTP message header syntax is described in RFC 2822. This cmdlet displays the message header exactly as it appears in the message. Individual header fields are not unfolded.

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 header you want to view. The value of Identity is a unique quarantine message identifier that can be found by using the Get-QuarantineMessage cmdlet.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

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