Learning PowerShell Through the Exchange 2010 Management Console

Home > Blogs > Exchange Server > Learning PowerShell Through the Exchange 2010 Management Console

Learning PowerShell Through the Exchange 2010 Management Console

Like This Blog 0 Mike Pfeiffer
Added by September 15, 2011

Just like Exchange 2007, the Exchange 2010 management console (EMC) is completely built on PowerShell. Everything you do in the graphical console, such as viewing the properties of a mailbox, or creating a distribution group, is being carried out in the background by PowerShell commands. Fortunately, EMC exposes most of this information, and you can use it as a tool to learn PowerShell.

The first thing you'll want to take a look at is the command log. Open EMC, highlight any item in the left hand column in the console tree, and select the View menu. Next, click on the option that says 'View Exchange Management Shell Log':

What you'll see next will be similar to the following screenshot:

In this example, we're viewing details for the latest execution of the New-Mailbox cmdlet. In addition, every other command that has been invoked since the EMC has been running is logged within this screen. Command logging is enabled by default, and will record the last 2,048 commands generated by EMC.

Another thing that is new in Exchange 2010 is the Command Button. You'll see this when viewing the properties of an object in EMC:

In this case I've modified the Title and Company properties for this mailbox. Notice that in icon the lower left hand corner, this is the EMC Command Button. It will be greyed out by default, but if you change something, before you hit 'Apply' or 'Ok', you can click on this button and preview the command that Exchange will use to make the change:

In addition to EMC Command Logging and the Command Button, you can still copy commands from the end of most wizards. For example, when creating a new mailbox you'll go through a wizard in EMC, and on the last screen, you'll be able to preview the command syntax, and click Ctrl+C to copy the command to your clipboard.

Videos You May Like

A Simple Introduction to Cisco CML2

0 3523 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Agile Methodology in Project Management

0 187 0

In this video, you will gain an understanding of Agile and Scrum Master Certification terminologies and concepts to help you make better decisions in your Project Management capabilities. Whether you’re a developer looking to obtain an Agile or Scrum Master Certification, or you’re a Project Manager/Product Owner who is attempting to get your product or … Continue reading Agile Methodology in Project Management

Creating Lists and Libraries in SharePoint

0 1433 4

In this SharePoint training video, we’re going to cover creating Lists and Libraries. Wherever you create your List or Library, wherever you want to create it, you want to be there. You want to be in a particular Site that’s in a Site Collection. If I wanted to add a List or Library to this … Continue reading Creating Lists and Libraries in SharePoint

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.