Applies to: Exchange Server 2010 SP2, Exchange Server 2010 SP3

Topic Last Modified: 2015-03-09

Use the Get-MessageCategory cmdlet to retrieve a message category from the specified mailbox.

Get-MessageCategory [-Identity <MessageCategoryIdParameter>] [-DomainController <Fqdn>] [-Mailbox <MailboxIdParameter>]

The Get-MessageCategory cmdlet is used by the Web management interface in Microsoft Exchange Server 2010 to populate fields that display message category information.

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 "Message categories" entry in the Exchange and Shell Infrastructure Permissions topic.


Parameter Required Type Description




The Identity parameter specifies the name of the message category to be retrieved.




The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.




The Mailbox parameter specifies the identity of a mailbox user to retrieve the message category from.

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.


Error Description


This example retrieves message categories from the mailbox User1.

Get-MessageCategory -Mailbox "User1"