I frequently find that I have to do repetitive tasks in Exchange that is facilitated by using the EMC.  For instance today I needed to rebuild the Offline Address Book and Global Address List for a client Exchange server.

For an Exchange 2013 server:

PowerShell

get-globaladdresslist | update-globaladdresslist

get-offlineaddressbook | update-offlineaddressbook

Elevated DOS Prompt:

net stop MSExchangeMailboxAssistants && net start MSExchangeMailboxAssistants

issreset

For an Exchange 2010 Server:

PowerShell

get-globaladdresslist | update-globaladdresslist

get-offlineaddressbook | update-offlineaddressbook

Elevated DOS Prompt:

net stop MSExchangeMailboxAssistants && net start MSExchangeMailboxAssistants

net stop BITS && net start BITS

net stop MSExchangeFDS && net stop MSExchangeFDS

issreset

Having to look these commands up every time is a pain in the ass so this is my cheat-sheet for common tasks.

Also scripting these common tasks is generally a good idea.  I usually create a root folder (C:EXCHSCRIPTS) and populate with scripts with logical names.  This script I would name rebuildaddresslists.ps1.

Moving forward I will add more commands and scripts I use.