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

Agile Methodology in Project Management

0 184 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

An Overview of Office 365 – Administration Portal and Admin Center

0 950 3

This is part 1 of our 5-part Office 365 free training course. In this Office 365 training video, instructor Spike Xavier introduces some of the most popular services found in Microsoft Office 365 including the Admin Portal and Admin Center. For instructor-led Office 365 training classes, see our course schedule: Spike Xavier SharePoint Instructor – … Continue reading An Overview of Office 365 – Administration Portal and Admin Center

Creating Users and Managing Passwords in Microsoft Office 365

0 795 4

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Write a Comment

Share your thoughts...

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