Module 4 Managing Microsoft Exchange Server and Recipient Objects by Using Exchange Management Shell
Module 4 Managing Microsoft Exchange Server and Recipient Objects by Using Exchange Management Shell
Objectives
After completing this lab, you will be able to:
Manage Exchange recipients by using Exchange Management Shell.
Manage and monitor Exchange Server by using Exchange Management Shell.
Lab Setup
For this lab, you will use the available virtual machine environment. Before you begin the
lab, complete the following steps:
1. On the host computer, click Start, point to Administrative Tools, and then click
Hyper-V Manager.
2. In Microsoft Hyper-V Manager, click EXC19-LON-DC1, and then in the Actions pane,
click Start.
3. In the Actions pane, click Connect. Wait until the virtual machine starts.
4. Sign in by using the following credentials:
User name: Adatum\Administrator
Password: Pa55w.rd
5. Repeat steps 2 and 3 for virtual machine EXC19-LON-EX1.
One of the primary goals in adopting Exchange Management Shell is to manage recipients
more efficiently. You will explore the various Exchange Management Shell options for
managing recipient objects.
The main tasks for this exercise are as follows:
1. Import the Exchange Management Shell module into Windows PowerShell ISE
2. Explore the recipient-management cmdlets
3. Format the output of Exchange Management Shell
4. Use pipelining to manage multiple objects
5. Use variables and loops
6. Create a script for bulk-recipient management
Task 1: Import the Exchange Management Shell module into Windows PowerShell ISE
1. Sign in to the LON-EX1 virtual machine with the user name Adatum\Administrator
and the password Pa55w.rd.
2. On the Start screen, type Windows PowerShell ISE, right-click Windows PowerShell
ISE, and then click Run as administrator.
3. In the console pane, type the following command, and then press Enter (To use the EMS
commands in powershell)
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapInc
Or
Import-Module 'C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'; Connect-
ExchangeServer -auto -ClientApplication:ManagementShell
4. In the console pane, type the following command, and then press Enter to verify that
Exchange Management Shell cmdlets are available:
Get-ExCommand
Task 2: Explore the recipient-management cmdlets
1. On LON-EX1, in the Windows PowerShell ISE console pane, type the following command,
and then press Enter (To list all cmdlets that include the term mailbox)
Get-Command *-Mailbox
2. To List all of the current mailboxes in the Exchange Server organization on the console
pane, type the following command, and then press Enter:
Get-Mailbox
3. To get Use Get-Help to list examples for how to use the Enable-Mailbox cmdlet.
In the console pane, type the following command, and then press Enter:
Results: After completing this exercise, you should have used the Exchange Management Shell
and performed basic recipient-management tasks.
Results: After completing this exercise, you should have used the Exchange Management Shell
and performed basic server configuration tasks.