Commands › Exchange Online

Get-MailboxServer

Exchange Online ExchangeOnlineManagement Get-*

View information about Mailbox servers in your organization.

Quick start script

# Get-MailboxServer — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-MailboxServer | Format-List

# 3. Export for evidence / drift tracking
Get-MailboxServer | Export-Clixml .\MailboxServer-$(Get-Date -Format yyyyMMdd).xml

Syntax

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

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity MailboxServerIdParameter The Identity parameter specifies the Mailbox server that you want to view. You can use any value that uniquely identifies the Mailbox server. For example:
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...
-Status SwitchParameter The Status switch specifies whether to include additional property values in the results, for example, the Locale value. You don't need to specify a value with this switch.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.