PowerShell Scripting  – Exchange 2007 Nouns

PowerShell – Exchange 2007 Nouns

The best thing you can do to script Exchange 2007 with PowerShell is to get the QAD snap-In.  Meanwhile, here is a list of the main nouns for manipulating Exchange 2007 via Microsoft’s PowerShell command shell.

To investigate try Get-Help m* where ‘m’ is the first letter of the command that you are researching.  * is the usual wildcard.  I have discovered that exchange specific commands begin with a uppercase e.g. Get-Mailbox (Upper ‘G’ and ‘M’)  but Get-Eventlog (lower case ‘g’ and ‘e’)

Mailbox and
MailboxDatabase -storagegroup
Mailcontact -identity guyt
User and
Contact -OrganizationalUnit managers
Group and
Queue Also Freeze-Queue
ExchangeServer -domain
Recipient -resultsize 50

Guy Recommends:  SolarWinds’ Free Bulk Import ToolFree Download Solarwinds Bulk Import Tool

Import users from a spreadsheet.  Just provide a list of the users with their fields in the top row, and save as .csv file.  Then launch this FREE utility and match your fields with AD’s attributes, click and import the users.

Optionally, you can provide the name of the OU where the new accounts will be born. Download your FREE bulk import tool.

If you need more comprehensive application analysis software,
Download a free trial of SAM (Server & Application Monitor)

If you like this page then please share it with your friends


See more Microsoft PowerShell tutorials

PowerShell Tutorials  • Methods  • Cmdlets  • PS Snapin  • Profile.ps1  • Exchange 2007

Command & Expression Mode  • PowerShell pipeline (|)  • PowerShell ‘where‘  • PowerShell ‘Sort’

Windows PowerShell Modules  • Import-Module  • PowerShell Module Directory 

If you see an error of any kind, do let me know.  Please report any factual mistakes, grammatical errors or broken links.