Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Get-MailboxServer cmdlet to return a Mailbox server object and all its attributes. If no parameter is specified, a complete list of the Mailbox servers in the entire Exchange organization is returned.

Get-MailboxServer [-Identity <MailboxServerIdParameter>] [-DomainController <Fqdn>] [-Status <SwitchParameter>]

Parameter Required Type Description




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




The Identity parameter specifies the Mailbox server. You can use the following values:

  • Name
  • GUID
  • Distinguished name (DN)




The Status parameter specifies whether you want to get additional status information, such as locale.

You don't need to specify any value with this parameter.

If you specify this parameter, you should format the output in such a way that you can view the additional attributes. For example, pipe the output to the Format-List cmdlet.

To view all the Mailbox server attributes that this cmdlet returns, you must pipe the command to the Format-List cmdlet.

The ExchangeVersion attribute returned is the minimum version of Microsoft Exchange that you can use to manage the returned object. This attribute isn't the same as the version of Microsoft Exchange that's displayed in the Exchange Management Console when you select Server Configuration.

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 "Mailbox server configuration" entry in the Mailbox Permissions topic.

Error Description



Exceptions Description



This example retrieves all the Mailbox servers in the organization.


This example retrieves a specific server instance called Server1.

Get-MailboxServer -Identity Server1