Try our training for free.

Gain instant access to our entire IT training library for 1 week. Train anytime on your desktop, tablet, or mobile devices.

This video training with Greg Shields covers Microsoft’s popular exchange server, including topics such as mailbox server roles, exchange backup and data recovery, and more....
This video training with Greg Shields covers Microsoft’s popular exchange server, including topics such as mailbox server roles, exchange backup and data recovery, and more.

Recommended skills:
  • Experience installing, administrating, and managing Exchange Server 2010

Recommended equipment:
  • Microsoft Exchange Server 2010

Related certifications:
  • Microsoft Certified Technology Specialist (MCTS): Microsoft Exchange Server 2010, Configuration
  • Microsoft Certified IT Professional (MCITP): Enterprise Messaging Administrator 2010

Related job functions:
  • IT professionals


This course is the definitive training package for Exchange 2010 and the 70-662 examination.

You'll learn the exact steps you need to successfully implement or upgrade your Exchange infrastructure. Plus, you'll dig deep into the new features of Exchange 2010 that you'll want to implement immediately, such as Database Availability Groups, Federated Sharing, and Messaging Records Management.

AND, you'll leave with the knowledge you need to be successful with Microsoft's certification exam.
1. Introduction to Microsoft Exchange and Exchange Certification (13 min)
2. Understanding Exchange Roles and Components (14 min)
3. Preparing your Infrastructure and Installing your First Exchange Server (34 min)
4. Mailbox Server Role: Databases, Mailboxes, and Public Folders (31 min)
5. Mailbox Server Role: Addresses, Folders, Groups, Contacts, and Resource Mailboxes (30 min)
6. Client Access Server Role: Outlook, OWA, and the Exchange Control Panel (25 min)
7. Client Access Server Role: POP & IMAP, ActiveSync, and Outlook Anywhere (23 min)
8. Hub Transport Role: Message Transport, Connectors, Accepted Domains, and Remote Domains (29 min)
9. Hub Transport Role: Email Address Policies, Transport Rules, and Journal Rules (13 min)
10. Edge Transport Role: Installing and Configuring (25 min)
11. Edge Transport Role: Message Filtering and Anti-Spam (28 min)
12. Understanding and Implementing Federated Sharing (12 min)
13. Role-Based Access Control in Exchange Administration (28 min)
14. Exchange Backup and Data Recovery (23 min)
15. Exchange High Availability: Database Availability Groups (28 min)
16. Exchange High Availability: Public Folders and Non-Mailbox Servers (14 min)
17. Exchange Monitoring and Reporting (20 min)
18. Exchange from the Outside World: Security, Certificates, Name Resolution, and Autodiscovery (22 min)
19. Migrating from Previous Exchange Versions to Exchange 2010 (12 min)
20. Managing Exchange 2010 with Windows PowerShell (15 min)

Introduction to Microsoft Exchange and Exchange Certification

Understanding Exchange Roles and Components

Preparing your Infrastructure and Installing your First Exchange Server

Mailbox Server Role: Databases, Mailboxes, and Public Folders

Mailbox Server Role: Addresses, Folders, Groups, Contacts, and Resource Mailboxes

Client Access Server Role: Outlook, OWA, and the Exchange Control Panel

Client Access Server Role: POP & IMAP, ActiveSync, and Outlook Anywhere

Hub Transport Role: Message Transport, Connectors, Accepted Domains, and Remote Domains

Hub Transport Role: Email Address Policies, Transport Rules, and Journal Rules

Edge Transport Role: Installing and Configuring

Edge Transport Role: Message Filtering and Anti-Spam

Understanding and Implementing Federated Sharing

Role-Based Access Control in Exchange Administration

Exchange Backup and Data Recovery

Exchange High Availability: Database Availability Groups

Exchange High Availability: Public Folders and Non-Mailbox Servers

Exchange Monitoring and Reporting

Exchange from the Outside World: Security, Certificates, Name Resolution, and Autodiscovery

Migrating from Previous Exchange Versions to Exchange 2010

Managing Exchange 2010 with Windows PowerShell

00:00:00

Managing Exchange 2010 with Windows PowerShell. You could almost think of this final Nugget as being kind of redundant with some of the topics that we've talked about throughout this entire series. But it's important to take what we've learned associated with the management of Exchange 2010 and really consolidate it into a single item of learning.

00:00:21

Whether you're taking the test or not, when you move to Exchange 2010, you'll find that your management techniques, the tactics you use to go through your daily management, are inevitably going to be forced into using Windows PowerShell at the command line.

00:00:36

Now the reason for this, as we've discussed before, is that all of Exchange 2010 really functions with Windows PowerShell. The Exchange Management Console itself is simply a graphical user interface that layers on top of Windows PowerShell. That being said, whenever you're going through all of those management tactics, you can be assured that everything you do inside of the Exchange Management Console really just runs a PowerShell command under the covers.

00:01:03

And as we also have already learned, a number of these commands are simply not exposed to the level of the Exchange Management Console. So you're going to have to use that console-- or excuse me, you're going to have to use the PowerShell to actually do some of those commands.

00:01:17

Now in this Nugget we want to talk about some of the interesting things you've got to be aware of when you're doing Windows PowerShell, and when you're doing management with Windows PowerShell. First and foremost is the fact that Exchange PowerShell always uses remote connections.

00:01:29

Even when you're connecting on the same server as we've been doing throughout this entire series to exchange PowerShell, it's doing so using a technique called implicit remoting that effectively brings those commands down to the local PowerShell session.

00:01:43

What's interesting about this is that in another computer, another computer outside of your environment, you can leverage Windows PowerShell on that computer to do the same sorts of Exchange PowerShell command type management from that other computer. And I'll show you how to do that.

00:01:59

Inside of the Exchange Management Shell is also an element that helps you determine which server you want to use for that remote PowerShell. In this Nugget, I'll show you where you can configure that as well. Then I also want to spend a little bit of time talking about some of the commandlets of Note.

00:02:14

If there could be a set of commandlets that you probably should be at least familiar with, that will be this list of commandlets of Note. These are the ones that you will probably find yourself using more regularly than others, and also ones that-- who knows-- may be tested on you whenever you take that exam.

00:02:30

Also be aware that there are a number of PowerShell scripts of Note as well. These are installed in the Exchange server/V14/Scripts location. In this location are a number of PowerShell scripts, which are multiple commandlets that run together to complete some task.

00:02:48

And because these scripts are designed by Microsoft, you may find that they provide some additional functionality over and above what you can build on your own. Lastly, I want to talk about the PowerShell command log and how you can start logging up PowerShell commands as a mechanism to identify what commands are being run against your organization.

00:03:07

But first, let's talk about Exchange PowerShell and Exchange PowerShell's use of remote connections. We've talked before about how you can use Windows PowerShell here in the Exchange Management Shell. I can run Get Mailbox, for example, or any of the commands and be assured that that command is going to function.

00:03:23

But what if I don't want to be on the Exchange server? What if I don't want to have to RDP to the server or walk into the server room to actually accomplish these commands? I can do so from another desktop. For example, this Windows 7 desktop that I've logged into as administrator.

00:03:39

If I want, I can bring forward Windows PowerShell-- Power Shell-- and launch it here inside of this Windows 7 desktop. Now there are a couple of interesting commands that you need to be aware of in order to be able to do this, and again, this is the technique referred to as implicit remoting.

00:03:56

The first thing we need to do is create a session object. So we do $session equals new PS session, configuration name, Microsoft.exchange, connection Uri, http, colon, backslash, backslash, and then the name of the server that you want to connect to, which in our case will be Ex1Nugget.nugget lab.com/PowerShell, and then authentication Kerberos.

00:04:29

This actually is going to create that session object. Now at this point, we can't actually do a Get Mailbox because those commands don't exist on this Windows 7 computer. The next thing we have to do with the session object to be able to use these commands is to actually import the session.

00:04:47

Import dash PSSession, $session. This will complete the implicit remoting connection and import in that session. You'll see here we're creating the implicit remoting module. And when we're complete, we'll be able to use those commands just like we were on that Exchange server.

00:05:04

You'll notice here we get a warning that some of the imported command names may include unapproved verbs, which might make them less discoverable. But if you're aware of what the commands are, you can make use of those commands here. Let's try Get Mailbox now.

00:05:16

Check it out. We can actually get all the mailboxes off of that remote Exchange Server. It is through this process of implicit remoting that you can, from more or less any PowerShell enabled desktop, be able to work with your exchange organization without the need for having that Exchange Management console lying around.

00:05:34

This is a great solution if you want to make sure that you can have the ability to manage your exchange organization from really anywhere in your environment. So creating this session object is great, because within the session object creation language, I can identify which of the servers I want to connect to.

00:05:51

But what if I'm actually on my Exchange Server? What if I'm connected into that Exchange server, and maybe I want to use PowerShell against a different server? You'll notice here I'm connected into Exchange 2010, the Organizational Health Screen. If I right click on this Microsoft Exchange on Premises and choose Properties, you'll notice that here under the General tab, I have an ability to select a server to connect to for remote PowerShell.

00:06:14

I can specify that server, the one that I've been to connecting to this entire period, or I can connect to the automatically selected server if I want. This gives you the ability to change which server that you're actually connecting to to complete those remote PowerShell commands.

00:06:28

Speaking of those commands, really what are the list of commands that you need to be aware of when you're taking a look at furthering your knowledge associated with Exchange in PowerShell? And also in preparing for that exam. There are a set of commands that you will find that you just use regularly.

00:06:46

And I've listed a few of these up here that you might want to take a look at. You'll notice here that I've aligned them by the nouns associated with these commands. So when it comes to mailboxes, the Get, Set, and Restore verbs come in handy for getting those mailboxes, setting parameters, and restoring those mailboxes whenever you experience a problem.

00:07:07

Mailbox Statistics, Store Use Statistics, and Mailbox Folder Statistics here can also be handy for helping you understand some of the mailbox information, some of the use of storage, and then also some of the mailbox folder information associated with your mailbox server role.

00:07:22

You can get and set specific Exchange Server configurations using the Exchange Server noun. Same thing with email address policy for those email addresses. Or mail and databases and database paths here with Get, Set, and Move. ADsites and ADsite links can also be manipulated and viewed using Get ADsite and Get ADsiteLink.

00:07:41

Or you can work with your database availability groups here using the Get and Set commands as well. Sometimes you need to do database copies, and you can set mailbox database copies, get them, or even update those database copies using these commands. The address list command you may find that you use quite a bit, because you can get, set, and create new address lists, again from the command line.

00:08:03

Same thing goes for mailbox move requests here with the get, set, and new move request commandlets. And then finally down here is the ability to test mail flow, active sync connectivity, OEC connectivity, Outlook connectivity, Outlook Web Services, and even edge synchronization.

00:08:19

All of these present a good starting point for the list of commandlets that you should keep inside of your brain for use whenever you're managing your environment. Now you may be thinking to yourself, this seems like a lot of commands that I have to remember.

00:08:31

It's not like the old DOS days where if I knew CD and dir and copy and delete, that's really all I needed to know. These are a lot of things I have to memorize. Well, don't forget that PowerShell includes a number of discoverability features to help you find what sorts of commandlets you might be interested in.

00:08:47

The Get Command command will help you identify all of the different commands that are available for you to take a look at. Now you'll see the number of those commands just scroll through very quickly, so you can understand that, well, there's a lot of commands that are available.

00:09:02

But remember that these commands are all the commands that are available for you, not withstanding the Exchange commands. One of the other commands that you may want to be aware of to help you discover more of these commands that can be useful in managing your exchange organization is Get Command and then piping that to Where, and then using Where objects constraint capability to look for where the command name is like, for example, let's use "mailbox."

00:09:33

This will give us a list of the commands which include the word "mailbox." You'll see here now, I can just look at those commands that have to do with managing my mailboxes in my exchange organization. So never fear those discoverability features in with PowerShell.

00:09:48

PowerShell also provides Get Help for any of the commands that are available. You can do Get Help, Set Mailbox, and discover all of the information that you need to know about setting that mailbox. This Get Help command sometimes takes a minute or two for it to bring up all the help information.

00:10:06

But again, what this provides is the capability for you to understand what the syntax is going to be for each of the commands that you're going to be using in your environment. Now if you're like me, this syntax can be somewhat challenging. You'll see here there's a significant amount of syntax associated with setting mailbox parameters.

00:10:22

And mainly, a lot of the syntax, at least in the case of this command, have to do with all the different things, the attributes, that are associated with the mailbox. One of the things you might also want to do is Get Help, Set Mailbox, dash Examples, which will provide you a list of common examples associated with the use of that command.

00:10:41

This commandlet with examples really can help you spin up your use of Windows PowerShell very quickly. For those commands that are sometimes a little more challenging or more difficult to be able to create on your own, Microsoft has created a set of PowerShell scripts that you should probably be aware of.

00:11:01

These scripts consolidate a number of different commandlets together to accomplish some task. If you go to the C Program Files, Microsoft, Exchange Server, v14, Scripts location, you'll see this list of commands that have been created. There are a number of them here that we've actually worked with before.

00:11:19

Let's take a look at Install Anti-spam Agents. If I double click this command, it brings it up in Notepad, and you can see here the structure of this command. It's doing some very advanced things, such as creating functions and then running them, and running if/then statements to actually accomplish some sort of task.

00:11:36

You may want to be aware of what these commands are and generally what they can do, because they may be able to help you in certain circumstances. Now again, running these commands is important, but sometimes it can be difficult for you to truly understand what's going on whenever you make a change inside of the Exchange Management Console and how you can translate that into a specific commandlet or a specific set of commandlets to actually accomplish something in the Exchange Management Shell.

00:12:04

Let me actually show you a way that you can highlight some of the ways that the Exchange Management Console and the Exchange Management Shell work with each other. That is making use of-- up here under the View command-- viewing the Exchange Management Shell command log.

00:12:18

You'll see here that it's by default it's empty. What you also have to do is click here under Action to start command logging. What this does is it provides a location for every single thing that occurs inside of the Exchange Management Console to be logged by command here inside of the log.

00:12:34

Let's take a look here. Maybe we'll flip through and take a look at a mailbox. If we click here on Mailbox, we're going to enumerate some information here in order to get that mailbox. This will probably show up here as a set of commands in the Exchange Management Shell command log.

00:12:49

In order for us to simply click on this one link inside of the Exchange Management Console, we need to run four commands-- Get Mailbox Database, Public Folder Database, and then two more commandlets here associated with Mailbox Database and Mailbox Database Copy Status.

00:13:03

Clicking on any of these links up here on the top brings out more information here on the bottom associated with what that commandlet did. This little tool provides an excellent way for you to log how people are making use of the Exchange Management Console, and also to help you translate the things that you're doing inside of the console with the things you can be doing inside of the shell.

00:13:24

So what have we talked about this, now that we've really talked about all of the different pieces that you need to be aware of associated with managing Exchange 2010 with Windows PowerShell. We talked about how Exchange PowerShell always uses those remote connections, whether you're on the Exchange server or if you're somewhere else in your environment using the tactic called Implicit Remoting.

00:13:43

We talked about how you can select a server for remote PowerShell. We also talked about some of those PowerShell commandlets of note and PowerShell scripts of note that you should be aware of. And finally, we concluded with a look at the PowerShell command log, a useful tool for helping you translate between what you see in the Exchange Management Console and then what you can do in the Exchange Management Shell.

00:14:04

This really brings us to the conclusion of this series. This entire 20 series, as we said in the beginning, is designed to help you understand what you need to know to be successful with Microsoft Exchange. Planning it, implementing it, configuring it, rolling it out, and then ultimately managing it and maintaining it over time.

00:14:22

We've spent time talking about installing your first Exchange Server. We talked about the mailbox server role and the client access server role. We moved into the hub transport and edge transport role, and then concluded with some of these management topics that will help you again be successful with working with that Exchange organization once it's up and running.

00:14:41

Once again, my name is Greg Shields, and it's been a real pleasure working with you over this entire series of Nuggets to help enlighten and educate you on what you need to know to pass that exam 70-662, and also how to be successful with your own Exchange Server 2010 organization. I hope this has been informative for you, and I'd like to thank you for viewing.

Please help us improve by sharing your feedback on training courses and videos. For customer service questions, please contact our support team. The views expressed in comments reflect those of the author and not of CBT Nuggets. We reserve the right to remove comments that do not adhere to our community standards.

comments powered by Disqus
Intermediate 8 hrs 20 videos

COURSE RATING

Basic Plan Features


Speed Control
Included in this course
Play videos at a faster or slower pace.

Bookmarks
Included in this course
Pick up where you left off watching a video.

Notes
Included in this course
Jot down information to refer back to at a later time.

Closed Captions
Included in this course
Follow what the trainers are saying with ease.

NuggetLab
Files/materials that supplement the video training

Premium Plan Features


Practice Exams
Included in this course
These practice tests help you review your knowledge and prepare you for exams.

Virtual Lab
Use a virtual environment to reinforce what you are learning and get hands-on experience.

Offline Training
Included in this course
Our mobile apps offer the ability to download videos and train anytime, anywhere offline.

Accountability Coaching
Included in this course
Develop and maintain a study plan with assistance from coaches.