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.
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.
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.
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.
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.