Microsoft Exchange Server 2007 For Dummies Cheat Sheet - dummies
Cheat Sheet

Microsoft Exchange Server 2007 For Dummies Cheat Sheet

From Microsoft Exchange Server 2007 For Dummies

By John Paul Mueller

E-mail is essential but not especially exciting. Microsoft Exchange Server 2007, though, does a super job of serving up e-mail and a whole lot more. Keep this Cheat Sheet handy for some of the shell commands you’ll use often as a Microsoft Exchange Server administrator.

Exchange Management Shell Exchange-Server-Specific Commands

The Microsoft Exchange Server 2007 shell commands in the following table will be quite useful when you’re initially setting up your Exchange Server and when your company or department organization changes. Keep this list handy to make you job go more quickly and smoothly.

Command Description
Get-ExchangeServer Obtains the attributes of a specified server. The cmdlet
obtains the attributes of all the servers in the Exchange
organization when you don’t provide a specific server name.
Set-ExchangeServer Sets generic Exchange attributes in Active Directory for a
specified computer. This cmdlet works only with Exchange Server
2007. You can use this task on only one server at a time. Use
scripts to perform bulk management tasks.
Enable-ExchangeCertificate Enables or disables a certificate contained in a local
certificate store. Certificates provide the means for secure e-mail
communication between client and server.
Export-ExchangeCertificate Creates an external file containing the Exchange Server
certificate. You can use this cmdlet to create a copy of the
certificate for later restoration.
Import-ExchangeCertificate Places a digital certificate contained in an external file in
the local security store. The server can then use the certificate
to secure e-mail communication.
Get-ExchangeCertificate Displays a list of Exchange Server certificates in the local
security store.
New-ExchangeCertificate Creates a new self-signed certificate you can use for test
servers. This cmdlet also makes it possible to create a certificate
request for Transport Layer Security (TLS) and Secure Sockets Layer
(SSL) services.
Remove-ExchangeCertificate Deletes any Exchange Server certificate in the local security
store. This option doesn’t provide any form of undo, so make sure
you export the certificate using Export-ExchangeCertificate before
you use this cmdlet.
Test-ExchangeSearch Tells you whether Exchange Server search is enabled and
currently indexing the content of the mailbox databases.
Add-ExchangeAdministrator Adds an Exchange Server user or group to a particular
Remove-ExchangeAdministrator Removes an Exchange Server user or group from a particular
Get-ExchangeAdministrator Displays a list of Exchange Server users and groups, their
scope, and their role assignments. For example, the Administrator
user is in the OrgAdmin role and has an organization wide

Mailbox-Specific Exchange Management Shell Commands

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.