Using command discovery through the Exchange Management Console

The Exchange Management Console simply carries out PowerShell commands in the background as you add, remove, and modify objects. One of the nice features is that most of these commands are exposed through the console, and you can use it as a tool to learn PowerShell. In this recipe, we'll look at a few ways in which you can discover which PowerShell commands are being executed when making changes in the console.

Getting ready

To use the examples in this recipe, you will need to launch the Exchange Management Console.

How to do it...

In the Exchange Management Console, highlight an item in the console tree, click on the View menu, and select View Exchange Management Console Command Log ...

Get Microsoft Exchange 2010 PowerShell Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.