CmdID

CmdID / PowerShell / Cmdlets / Get

Get-MailboxLocation

Use the Get-MailboxLocation cmdlet to view mailbox location information in Exchange Online. Exchange PowerShell reference

From the Exchange PowerShell reference 8 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

8 in the Exchange PowerShell reference
-DatabaseThe Database parameter returns the mailbox location information for all mailboxes on the specified mailbox database.
-IdentityThe Identity parameter specifies the mailbox location object that you want to view.
-UserThe User parameter specifies the user whose mailbox location you want to view.
-Confirm, -cfThis parameter is reserved for internal Microsoft use.
-IncludePreviousPrimaryThe IncludePreviousPrimary switch specifies whether to include the previous primary mailbox in the results.
-MailboxLocationTypeThe MailboxLocationType filters the results by the type of mailbox.
-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.
-WhatIf, -wiThis parameter is reserved for internal Microsoft use.