Mailbox-Specific Exchange Management Shell Commands

By John Paul Mueller

Part of Microsoft Exchange Server 2007 For Dummies Cheat Sheet

Keep this Cheat Sheet of mailbox-related Microsoft Exchange Server 2007 commands handy when you open the Exchange Management Shell to make your mailbox administration tasks as easy as can be.

Command Description
Get-MailboxCalendarSettings Displays the calendar processing settings for the specified
Set-MailboxCalendarSettings Enables calendar processing for the specified mailbox. You can
configure parameters for automatic resource booking or Calendar
Attendant processing.
Get-EmailAddressPolicy Displays the e-mail address policies for the specified mailbox.
If you don’t specify the mailbox name, you see a list of available
policies (such as Default Policy).
New-EmailAddressPolicy Defines a new e-mail address policy for the specified mailbox.
If you don’t provide a mailbox name, Exchange Server creates the
new policy but doesn’t associate it with a mailbox.
Remove-EmailAddressPolicy Deletes the e-mail address policy associated with a particular
Set-EmailAddressPolicy Associates an e-mail address policy with a particular
Update-EmailAddressPolicy Applies an e-mail address policy to a group of recipients.
Get-Mailbox Displays a particular mailbox and shows its configuration
settings. Using this cmdlet without specifying the mailbox displays
a list of all mailboxes on the system.
Get-MailboxStatistics Displays the statistics (mailbox size, number of messages, last
access date, and other information) for a particular mailbox.
Get-MailboxFolderStatistics Displays the statistics (the number and size of items in the
folder, folder name and ID, and other information) for a particular
mailbox folder.
Connect-Mailbox Associates a disconnected mailbox with a particular user
account. This cmdlet undoes the action of the Disable-Mailbox
Disable-Mailbox Removes access to a particular user’s mailbox from Active
Directory. The user account remains accessible, but the mailbox is
no longer available for use.
Move-Mailbox Changes the physical location of the specified mailbox.
New-Mailbox Creates a new mailbox.
Remove-Mailbox Deletes both the specified mailbox and the user account
associated with that mailbox. This is a one-way configuration
change, so make sure you save any user information you need before
using this cmdlet.
Restore-Mailbox Obtains the content of a mailbox from a recovery database and
makes it available for use.