PowerShell Get-Mailbox

PowerShell Get-Mailbox For Exchange 2010

Get-Mailbox is a classic PowerShell command for configuring users’ Exchange email settings. Not only is it useful in its own right, but also the results from Get-Mailbox provide valuable input to other Exchange based PowerShell cmdlets.

Get-Mailbox is an ideal command for making the transition from the EMC to PowerShell. ‘Get’ is the most common PowerShell verb, while Mailbox is a key exchange noun. Another benefit of starting with this cmdlet is that no parameters are ‘required’.

#Exchange 2010 PowerShell Script Get-Mailbox

Note 1: While no parameters are compulsory, it does not mean to say that it’s not worth researching your options, for example, suppose you wish to refine the list of mailboxes.

Guy Recommends: SolarWinds’ Free Bulk Mailbox Import Tool

Import users from a spreadsheet, complete with their mailbox. Just provide a list of the users with the fields in the top row, and save as .csv file. Then launch this FREE utility, match your Exchange fields with AD’s attributes, click and import the users. Optionally, you can provide the name of the OU where the new mailboxes will be born.

There are also two bonus tools in the free download, and all 3 have been approved by Microsoft:

Summary of PowerShell Get-Mailbox

Get-Mailbox is a suitable command for learning about how PowerShell can interogate Exchange. Not only is it useful on its own, but also the results from Get-Mailbox can be piped into other Exchange based PowerShell cmdlets.