Get-MSMailboxes

Get groups of Mailboxes. The results can be edited and fed back into Update-MSMailboxes to apply bulk updates

Syntax


Get-MSMailboxes -MailIds (Array) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -All [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -My [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -BlueprintId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -BlueprintPath (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -BlueprintFolderId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -BlueprintFolderPath (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -ProcessId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -ProcessName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -SubProcessId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -SubProcessName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -DeployUnitId (Int32) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -DeployUnitName (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -Archived [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -Locked [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -Deleted [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -DropdownValue (String) -Dropdown (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Get-MSMailboxes -TeamMemberName (String) -TeamMemberType (String) [-SearchTerm (String)] [-Take (Int32)] [-Skip (Int32)] [-IdsOnly] [-Count]

Examples


## Get a list of known Mailboxes by their Ids
Get-MSMailboxes -Ids @(1000,1001,1002)

## Get a list of Mailboxes in a Blueprint
Get-MSMailboxes -BlueprintPath "Departments\Operations\Purchasing"

## Get a list of Mailboxes in the 'Identified' Process
Get-MSMailboxes -ProcessName "1. Identified"

## Get a list of Locked, Archived, or Deleted Mailboxes
Get-MSMailboxes -Locked
Get-MSMailboxes -Archived
Get-MSMailboxes -Deleted

## Get a count of ALL Mailboxes in database
(Get-MSMailboxes -All).Count