Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2011-05-04
Use the Get-MessageCategory cmdlet to retrieve a message category from the specified mailbox.
Syntax
Get-MessageCategory [-Identity
<MessageCategoryIdParameter>] [-DomainController
<Fqdn>] [-Mailbox <MailboxIdParameter>]
|
Detailed Description
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.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Optional |
Microsoft.Exchange.Configuration.Tasks.MessageCategoryIdParameter |
The Identity parameter specifies the name of the message category to be retrieved. |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory. |
Mailbox |
Optional |
Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter |
The Mailbox parameter specifies the identity of a mailbox user to retrieve the message category from. |
Input Types
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.
Return Types
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.
Errors
Error | Description |
---|---|
|
Examples
EXAMPLE 1
This example retrieves message categories from the mailbox User1.
Copy Code | |
---|---|
Get-MessageCategory -Mailbox "User1" |