Using the help system
The Exchange Management Shell includes over 750 cmdlets (pronounced command-lets), each with a set of multiple parameters. For instance, the
New-Mailbox cmdlet accepts more than 60 parameters, and the
Set-Mailbox cmdlet has over 160 available parameters. It's safe to say that even the most experienced PowerShell expert would be at a disadvantage without a good help system. In this recipe, we'll take a look at how to get help in the Exchange Management Shell.
How to do it...
To get help information for a cmdlet, type
Get-Help, followed by the cmdlet name. For example, to get help information about the
Get-Mailbox cmdlet, run the following command:
Get-Help Get-Mailbox -full
Downloading the example code
You can download the ...
Get Microsoft Exchange Server 2013 PowerShell Cookbook - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.