You are on page 1of 100

Lab 05 – Exchange Server

2019 Administration

Sample screenshots appear on next page after question. We will cover material in future
lectures that will clarify why you are doing these tasks.
Add any missing lines shown below, to “member of”, on the
user with your last name, first initial. This is in ADUC. Your
domain, last name, first initial. Not administrator.
Please read these Lab Instructions completely before
starting the Lab.

• General Instructions:
• While doing the lab, record the date and machine computer name you are working on in a
text file, along with all the procedures and installation/configuration decisions you make.
• Save all answers to every question for later submission. Include answer reference numbers (#)
and screen shot reference names so that it will be easier for you to study the lab exercises
later, as well as facilitate the evaluation by your instructor. Lab answers and screen shots
should be available for inspection at any time. You should have a complete set of screen shots
and answers for lab 3 onwards. Answer all # questions in one text file. Screen shots must be
stored as .jpg with lab05-08.jpg for screen shot 8 as example.
• Save all screen shots in a folder called “Screen Shots”, this folder should be located under
“C:\CST8342” on your “virtual machine”, not on the host machine. C:\CST8342 would
disappear on the host machine. After creating the folder, right click on it and select “Send
to”, “Desktop”, a shortcut should appear on our desktop. Create a sub folder under
“Screen Shots” called “ABCD0123 Lab 05”. Substitute ‘ABCD0123’ for your college
username. Create a text document called “Lab 05.txt” to save the # answers.
• You may choose to store answers elsewhere if you wish.
• The report will be a single PDF file with both screenshots and answers in one file.
• This lab assumes that the previous labs have been completed successfully. You have
installed Server 2019. Windows 2019 should include the latest Service Pack and all the
latest critical and optional updates from the Microsoft Windows Update web site.
• This lab assumes previous labs have been completed successfully. Hence you have
configured a static IP address in 2019 Server and create an Active Directory domain
complete with a local DNS server. Exchange is installed and functioning on your Server1
virtual machine.
• Note free disk space on your virtual machine. Make sure your virtual machine is backed
up. Delete all snapshots, when your virtual machine is shut down. Adjust hard disk in VM
/ properties so that your free disk space becomes 20G. This may require expanding in
VM ware, then in Administrative tools, computer management, disk management, extend
the extra space for C: drive.
Mine are grayed out is the first picture because my virtual
machine is not shut down. Second screen, as I have not
allocated extra space.
Administration of Exchange Server 2019

• 1) Record your fully qualified domain name and IP address for your virtual machine #0. Use
this format: server94001.dm94001.cst8342.com 172.16.94.1 Substitute highlighted 001, 94,
and 1 for your numbers. Replace 127.0.0.1 on both your NAT and Bridged network cards
with 172.16.^^.??? (DNS Server (Yours)) Restart virtual machine. Disable NAT interface card
(Blue) for this lab. Enable only if doing updates, or need internet access temporarily.
• 2) Type “nslookup server94001.dm94001.cst8342.com” repeat with the fully qualified name of
your server as well. Clear the CMD window before you do this task. Show the results of both
servers.You will be entering nslookup two times. If you make a mistake, clear the screen and
start over. Take a screen shot showing only the output of the two commands. Lab05-01.jpg (If
server in the back of class is down, you can only lookup your own address, however it should
not be down). If off campus server94001 will not respond.
• Do the following on your server. Take screen shots of work done on your server only if
specified. We will discuss creating static routes in theory class.
• 3) Increase RAM on virtual machines to 6G at least if you have 8G. 12G if you have 16G.
• 4) On your virtual machine, make sure you have a reverse lookup record.
• 5) In Internet Explorer. Tools / Internet Options, Security Tab. Move Slider to bottom. Add
“*.cst8342.com” to trusted sites. Require Server Authentication must be unchecked. I
recommend using Google Chrome instead.
• 6) Install Telnet Client under Server Manager / Manage / Add Rolls and Features. Do not install
Telnet Server.
• 7) Configure all firewalls on all machines to allow port 25 and ports for DNS. May already be
configured automatically. Port 53 for DNS. I will go over Windows Firewall in week 6 lab
class. You can ignore until week 6.
• 8) Configure servers to allow ping to work. May need to make changes in your firewall. Allow
ICMP messages.You can ignore until week 6.
• 9) Try the following commands, do they give you what you expect? tracert
mail.dm^^???.cst8342.com (^^??? Should be a friend’s server not yours.) You can use my
server at the back of the lab. Server94001. Use mail.dm94001.cst8342.com for me.
Server94001.dm94001.cst8342.com could return 10.50.10.253, and we disabled blue, so we
won’t use Server^^???. Any server other then your own one will fail off campus.
• Repeat for a class mates machine as well as your own. My server is mail.dm94001.cst8342.com Requires back
machine to be running. Should always be accessible.
• 10) Open Services in Administrative Tools. Take a snapshot of Microsoft Exchange Services showing the current
state, Disabled, Manual, and Automatic Services. Note that you should not have any that are disabled.
Lab05_02.jpg
• 11) Set all Exchange services to Automatic and Start all Exchange Services. Take a screen shot. Lab05_03.jpg Do
not worry if some shutdown automatically.
• 12) In Exchange Management Shell, run the following commands and record screen shot showing required
standard CAL licences (CALS). Lab5_04.jpg
The first command shows the license types.
Get-ExchangeServerAccessLicense | ft –AutoSize
Get-ExchangeServerAccessLicenseUser –LicenseName "Exchange Server 2016 Standard CAL"
• Make sure all Microsoft Exchange Services are Started in Services, under Administrative
Tools. Every time you reboot server you may have to restart them.
I have two users mail enabled. Yours may vary.
• Administrator user is mail enabled by default.
• 13) In the old Exchange Management Console of Exchange 2010, you would go under
Organization Configuration / Hub Transport, Remote Domains tab, to create a new Remote
Domain. We would create a name and call it Default, and for Domain Name put * Check off,
and include all subdomains. This cannot done with the web interface. Instead we execute in
Exchange Shell. We will not do this but the command is as follows.
New-RemoteDomain -Name xyz.com -DomainName xyz.com
• We will execute the following command in Exchange Shell and take a screen capture.
Lab05_05.jpg
• Get-RemoteDomain
• 14) Under Mail Flow / Accepted Domains in ECP, create a new accepted domain. Use
your domain name for the name, and for the domain name. Make It authoritative.
Lab05_06.jpg It will already exist in Exchange 2019 so only take a screen capture of it
existing.
• 15) Under Mail Flow / Send Connectors, Create a new send connector. Name SMTP,
Make sure you select Internet Send Connector radio button, address Space * and include
subdirectories. It will use DNS MX, and cost of one. Take a snapshot Lab05_07.jpg
• 16) Under Servers / Servers edit your server with the pencil icon, Pop3 and IMAP4 will
show, take a snapshot of POP3 showing ports. LAB05_08.jpg
The Asterix signifies all domains can be sent to.
• 17) Under Mail Flow / Receive Connectors. Select Default Frontend and choose to edit it.
What port is showing up under scoping? LAB05_09.jpg Delete IP6 values.
• 18) Under Recipients, mailboxes, create a new user mailbox by clicking on the plus, it should
be a 'user mailbox' with your credentials from school. ABCD0123.You will have to delete the
existing user in ADUC with the same name if it exists or choose existing user. Lab05_10.jpg
Do not use the account with your last name, first initial.
• 19) Open the properties page of the user you just created (Pencil). Take a screen shot of the
Mailbox Features link. Lab05_11.jpg
• 20) Explain how you would configure storage quotas for the user you just created. #12 Its
under mailbox usage.
• 21) Configure outlook web access to send mail between your machine and another machine in the class. Use
OWA to send and received mail. You must allow anonymous under mail flow, receive connectors, for all
receive connectors. Use pencil on each connector. It is under Security link. Take a screen shot of the mail you
received from a classmate or professors’ machine. LAB05_13.jpg (Can’t do off campus)
https://mail.dm^^???.cst8342.com/owa
Professors e-mail is: professor@dm94001.cst8342.com
• 22) Install Mozilla Thunderbird. Configure it to send and receive e-mail using SMTP and POP. Try sending and
receiving mail to another user on your exchange system. Create a user for this purpose. Take a screen show
showing received message. Lab05_14.jpg (Make sure you have already logged into OWA as this user and sent a
test e-mail to this same account) (Can only do after theory covered)
• 23) Under what location would you create an SMTP connector for a smart host? Explain how to do it #15
Click Manual Config
Hit Done when finished entering information. Do not
Re-rest.
Same as before but using SSL instead. Note different
ports used for SSL. Only changed to SSL on Incomming.
• 24) Try changing port number from 25 to 2525 in the previous question. It is not available in the GUI
interface.You would need to do the following. Change identity to match your connector name.
Set-SendConnector -identity "SMTP Internet Send Connector" -Port:2525
Lab05_16.jpg (Note: Replace “SMTP Internet Send Connector” with the name of your send connector)
• 25) Change back to the default port of 25.
• 26) Create a new mailbox database. The name should be “dm^^???_ABCD0123”. Substitute your
number for ^^??? and your user id for ABCD0123.Your server should be server^^???.Your database path
should be “C:\Databases\dm^^???_ABCD0123\dm^^???_ABCD0123.edb” and your log path should be
“C:\Logs\dm^^???_ABCD0123”. Take a screen from your ECP web interface before executing the
command. Lab05_17.jpg
Makesure Database ends with edb
• 27) Create a new user in ECP web interface. The users name is “Doug Dacey” First name
is Doug. Last name Dacey. Email address / login name should be
daceyd@dm^^???.cst8342.com. Password should be “P@ssw0rd”. The user should be
created in a Organizational Unit called “ExchUsers”. The creation of the OU must be
done in ADUC. The alias will be called DaceyD. Make sure you specify the mailbox
database created above rather than using a database automatically selected. Take a screen
shot before executing the command. Lab05_18.jpg
• 28) Type “telnet mail.dm^^???.cst8342.com 25”. Take screen shot of output. Lab05_19.jpg
You will need the telnet client.
Note that I did not create the directory first this time.

• 29) Create a new database using ECP. The name of the database should be “DB1”. The
locations for the database and log files should be as follows.
C:\DDrive\Databases\DB1\DB1.edb
C:\EDrive\Logs\DB1
• Record how this would be done in the Exchange Shell command. #20 Take a screen shot
of the newly created database Lab05-21.jpg from ECP. Mount the newly created database.
• 30) Open the DB1 folder under database on C: drive using Windows Explorer. Take a
screen shot showing the new edb file. Lab05-22.jpg
• 31) Open the DB1 folder under logs on C: drive using Windows Explore. Take a screen
shot showing the new log files. Lab05-23.jpg
• 32) Move the newly created database to a new location. Use the Exchange Shell to do
this. Move from C:\DDrive\Databases\DB1\DB1.edb C:\EDrive\Logs\DB1 to
C:\DDrive\Databases\NEW\DB1\DB1.edb C:\EDrive\Logs\NEW\DB1
• Record the Exchange Shell command needed to do this. #24
• 33) Open the DB1 folder under databases\NEW on C: drive using Windows Explorer.
Take a screen shot showing the new edb file. Lab05-25.jpg
• 34) Open the DB1 folder under Logs\NEW on C: drive using Windows Explore. Take a
screen shot showing the new log files. Lab05-26.jpg
• 35) Does the old DB1 folder still remain? #27
• 36) Create a new user. The first name should be Deb, last name Burns. The user should
have an e-mail address of BurnsD@DM^^???.cst8342.com and a logon name of BurnsD.
Default database that was created when Exchange was installed. The account should be
created in ExchUsers Organizational Unit. Do this using Exchange Shell Command. Take a
screen shot. Lab05-28.jpg
Determine your default mailbox name from Exchange
Admin Center.
New user does not show in Exchange Admin Center
until you refresh.
• 37) Create a second user. Substitute the name Judy Burns for Deb Burns. Email should be
BurnsJ@dm^^???.cst8342.com. Create user in the ExchUsers OU. Use the new database
called DB1. Record the Exchange Shell Command. Take a screen shot. Lab05-29.jpg.
• 38) Move Deb Burns from the default mailbox to the new mailbox. Use the Move
Mailbox feature of Exchange Admin Center. Record the Exchange Console Command
that does the equivalent. Lab05-30.jpg
• 39) Take a screen shot in ADUC showing Deb and Judy Burns. Lab05-31.jpg
New-MoveRequest -Identity 'BurnsD@dm94009.cst8342.com'
-TargetDatabase "DB1"
• 40) Open OWA and send e-mail from Deb to Judy and from Judy to Deb. Record a
screenshot showing mail in Judy’s account and Deb’s account. Lab05-32.jpg Lab05-33.jpg
• 41) Delete Judy Burns in ADUC.
• 42) Recreate Judy Burns using ADUC. It should be created in ExchUsers OU.
• 43) Judy Burns mailbox is now Disconnected. Reconnect Judy Burns mailbox using
Exchange Admin Center. Record the Exchange Management Shell command to do this
same task. Lab05-34.jpg
If mail does not arrive, check the following.
All Exchange Services are running.
You have 15 G of free disk space on your virtual machine.
Expand disk space as shown in class, if needed.
Even though user is recreated, they won’t have the same
UID. So we have to relink to mailbox.
Cleanup of disconnected mailbox’s takes awhile to show
up.
Lets search for the original Judy Burns UID. Yours will be
different then mine.
• This will force it to show, substitute MailboxGuid with the value you obtained by doing
the previous command in the previous slide. -Identity …..
You are on your own for the next few questions.
No sample pictures.
• 44) Create a new Database Called “DB 02”, note the space between DB and 02. Use
directories as follows. C:\DDrive\Database\DB 02\DB 02.edb C:\EDrive\Logs\DB 02 Do
this using Exchange Shell not GUI interface. Lab05-35.jpg
• 45) Create a new user called Steve Jones. Steve is the first name. e-mail
joness@dm^^???.cst8342.com Use default database. Do this using Exchange Shell not
GUI interface. Lab05-36.jpg
• 46) Move Steve Jones from the default mailbox to “DB 02”. Use Exchange Shell to do this.
Lab05-37.jpg
• Use Exchange Admin Center for the following questions: (ECP)
• Before starting make sure under Roles and Features that Internet
Information Services (IIS) Manager is installed. The one we require is the one
without the 6.0 in the name. Check in Administrative Tools to confirm it is
installed. Install if needed. Once installed open Internet Information Services
(IIS) Manager in Administrative Tools and make sure under Application Pools
that the .NET CLR is set to v4.0 for all MSExchange Pools. This will be shown
in class.
• Create a new database called “Staff”, located under C:\DDrive\databases. Log file under
C:\EDrive\logs. Lab05-38.jpg Use ECP.
• Create a new user call Richard Hagemeyer. First name Richard. His e-mail address
should be rh@dm^^???.cst8342.com Login name RichardH –Archiving enabled using
DB1. Lab05-39.jpg Set the following defaults for the “Staff” database: Lab05-40.jpg
Issue warning at 10G
Prohibit send at 12G
Prohibit send and receive at 14G
• Configure warning message interval for database storage limits at the following times:
Lab05-41.jpg This is for “Staff” database.
9am, 1pm, and 3pm
The interval should be 15 minutes in length.
Set the database “Staff” to keep deleted items for 30 days and deleted mailboxes for 60
days. Lab05-42.jpg
Deleted items should not be permanently deleted until after the database is backed up.
The user Richard Hagemeyer should have Archiving enabled. Lab05-43.jpg
• Richard Hagemeyer’s street address should be set to your student number followed by
your user ID. Lab05-44.jpg
• Richard Hagemeyer should have both POP3, and IMAP4 disabled just for his user. Lab05-
45.jpg
• Do not disable in services. Enable retention hold for items in his mailbox. Should be held
for a period of one week. Lab05-46.jpg
• What is retention hold? #47
• Override the default warnings for database size that was set for the database. This
should only be for Richard Hagemeyer. Lab05-48.jpg
Issue warning at 15G
Prohibit send at 20G
Prohibit send and receive at 25G
• Modify Richard Hagemeyer so that the maximum size of sent and received messages are
10M. Lab05-49.jpg
• Richard is going on holidays. Modify his settings so that his e-mail is forwarded to your
users e-mail account as well as his own. Lab05-50.jpg (Create an account for yourself if
it does not already exist. )
• Richards archive quota should be set to 100G. Lab05-51.jpg
Demo

• Send e-mail to Professor@dm94001.cst8342.com


• You must be logged in as your user with your last name, first initial.
• You must be in the lab and connected to the 172.16…. (Red) network.
• You will get an automatic response from my account.
• Bring laptop up to front desk after receiving response.
• Demo will be different then above if off campus.
Midterm Additional Questions

• What additional groups did we add to "Member of", in ADUC for your user?
• What minimum amount of disk space did I recommend so that Exchange can Send e-mails?
• What Windows program do we use to extend disk space?
• What is the fully qualified server name of my mail server in the class?
• Do you need to be physically connected to the class network to do an nslookup of your
server?
• What port does DNS use?
• What Exchange Management Shell command do we use to see User CAL licenses?
• What account has mail enabled by default when installing Exchange as Administrator?
• Can you send mail to Exchange Users without creating a Send Connector?
• What type of Send Connector did we create?
• What ports do POP3 use in Exchange?
• What port is used for SSL when configuring POP3 in Exchange?
• What ports do IMAP4 use in Exchange?
• In order to use POP and IMAP, what must we do in Services?
• What must we do to Receive Connectors before we can receive mail from the Internet?
• What did we remove under scoping for our Receive Connectors?
• Under what receive connector, is port 25 defined?
• Can you create users in Exchange Admin Center, or do you need to use ADUC?
• When editing a user in ECP, under what option do we see Issue a warning at (GB)?
• What is your Professors lab e-mail address, not the College e-mail address?
• What is a Smart Host?
• What Exchange Management Shell command do we use to change the port from 25 to 2525 on the Send
Connector?
• What is the purpose of the Log files?
• When creating a new user in Exchange Admin Center, what defines the users e-mail address by default?
• What is the syntax of the command we use to test remote access to our mail server? Hint telnet
• What extension does an Exchange database use?
• What Exchange Console command do we use to move a database and log files to a new location?
• What command do we use to create a new mail enabled user in Exchange Shell?
• What must we do if we create a new user in the Exchange Shell and it does not apear in
Exchange Admin Center?
• What is UserPrincipleName?
• What shell command do we use to move a user to a new mailbox database?
• What command do we use in Exchange Shell to show disconnected mailboxes?
• Under what setting in Exchange Admin Center (ECP) do you modify warning message
interval for a database?

You might also like