Get-MailboxLocations

Module: MO_Module
Applies to: Exchange Online

Use the Get-MailboxLocations function to view where Exchange online tenant mailboxes are currently hosted in which region in a Microsoft data centers.

Get-MailboxLocations

SYNOPSIS

Displays locations of mailboxes in Exchange Online.

SYNTAX

Get-MailboxLocations [<CommonParameters>]

DESCRIPTION

Determines the number of datacenters and locations where Exchange Online mailboxes are distributed.

EXAMPLES

EXAMPLE 1

Get-MailboxLocations

No parameters are needed.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Displays content to screen.

NOTES

Code used from Joe Palarchio from the Get-MailboxLocations.ps1 file. https://blogs.perficient.com/2016/03/15/office-365-script-to-determine-exchange-online-mailbox-location/ Limitations: Table of datacenters is static and may need to be expanded as Microsoft brings additional datacenters online. This function runs 'Get-Mailbox' which can take a really long time in EXO if the tenant has lots of mailboxes.

This is not the 'Get-MailboxLocation' cmdlet: https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/get-mailboxlocation?view=exchange-ps

Add a Comment