step by step journey to migration exchange 2010 sp3 to ......lab summary i have setup this lab on...
TRANSCRIPT
![Page 1: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/1.jpg)
Step by Step Journey to Migration Exchange 2010 sp3
to Exchange Server 2016 Part-III
Hussain Shakir
LinkedIn: https://www.linkedin.com/in/mrhussain
Twitter: https://twitter.com/hshakir_ms
Blog: http://mstechguru.blogspot.com/
![Page 2: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/2.jpg)
Table of Contents About Author ............................................................................................................................... 3
LAB Summary .............................................................................................................................. 4
VMs IP & Names .......................................................................................................................... 4
Windows Server 2008 Properties ............................................................................................... 5
Adding Server Roles Required for DC ..................................................................................... 5
DC Promo Installation ................................................................................................................. 9
Configuring Revers Lookup Zone ........................................................................................... 18
Launch NSLOOK to verify name resolution.......................................................................... 24
Summary of Part-II .................................................................................................................... 26
Exchange 2010 VM Properties .................................................................................................. 26
Installing prerequisites of Exchange 2010 .............................................................................. 27
Preparing Active Directory for Exchange 2010 ..................................................................... 30
PowerShell Script for Bulk Users ............................................................................................. 39
Bulk Mailbox Creation in Exchange 2010 ............................................................................... 42
Email Testing OWA Send/Receive ......................................................................................... 43
Exchange 2010 Installation Completed ................................................................................... 44
Installation of Windows Server 2016 as Domain................................................................... 45
Adding Roles for Active Directory .......................................................................................... 46
Nslookup Status ......................................................................................................................... 58
Installing Rollup update 13 on Exchange 2010 SP3 .............................................................. 58
Transferring of FSMO Roles from Domain2008 to Domain2016 ........................................ 62
![Page 3: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/3.jpg)
About Author
I am IT Consultant with over 13 years of extensive experience working with Microsoft
Technologies AD, Exchange, O365, Windows Azure, PowerShell, Skype for Business,
SQL, SharePoint and Microsoft public clouds, and providing solutions to different local
& international Enterprise customers.
I have been involved in Infrastructure Designing and Implementation, Virtualization,
and Disaster Recovery. Extensive hands-on experience in Core Server Infrastructure,
Cloud Computing, Virtualization/ Management and Information Protection. Analysis
and Support of Microsoft Windows Server based Client / Server network, AD,
Messaging, Skype for Business, SQL Always ON, Virtualization and System Center
Infrastructure Products. Shakir has various industry certifications: MCT, MCTS,
MCITP, MCSA, MCSE: Messaging, MCPS, MCSE: Cloud Platform and Infrastructure
and also providing trainings on Microsoft Based Technologies.
![Page 4: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/4.jpg)
LAB Summary
I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad
W541 with 32 GB of RAM and Intel(R) i7-4930MX CPU @ 3.00 GHZ, with 1 TB SSD
Samsung.
VMs IP & Names
Sr.
No
VM Name IP Address Subnet Mask Gateway DNS
1 DC2008 192.168.244.151 255.255.255.0 192.168.244.2 192.168.244.151
2 Exchange2010 192.168.244.152 255.255.255.0 192.168.244.2 192.168.244.151
3 DC2016 192.168.244.153 255.255.255.0 192.168.244.2 192.168.244.151
4 Exchange2016 192.168.244.154 255.255.255.0 192.168.244.2 192.168.244.153
I am going to start the migration process from scratch because I don’t have pre-setup for this
migration so I will start the lab from building a Domain Controller in Windows Server 2008 R2
Standard, on the same OS I will install Exchange Server 2010 SP3. In the second part of the
Guide I will further install Domain Controller on Windows Server 2016 Standard Edition, on the
same OS I will install Exchange Server 2016.
You can simply follow the steps for both who have already running this environment or for those
who wanted to setup the same environment before doing migration on actual site.
Let’s have a look on first Domain Controller properties and start building Domain on Windows
Server 2008.
Note: - I am using very less memory on each VM because I am using SSD drive in my Laptop
which has high IOPS (Input/output operations per second.
![Page 5: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/5.jpg)
Windows Server 2008 Properties
Adding Server Roles Required for DC
![Page 6: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/6.jpg)
Select Active Directory Domain Services
A popup windows will appear for adding required features.
![Page 7: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/7.jpg)
Click Next to continue
Click on Install
![Page 8: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/8.jpg)
Installation Progress
After Successful Installation Click Close
![Page 9: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/9.jpg)
DC Promo Installation
From Run Type Dcpromo & Hit Enter
A Small Windows popup for Checking AD Services
![Page 10: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/10.jpg)
Select Advance option and Click on Next to continue
Click on Next and Continue
![Page 11: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/11.jpg)
Click on Create a new domain in a new forest and Click on Next
You can see the progress windows for verifying NetBIOS name
![Page 12: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/12.jpg)
Click Next with default NetBIOS name
Select Forest Functional Level as per your environment
![Page 13: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/13.jpg)
Select DNS Server option and Click on Next
![Page 14: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/14.jpg)
Click YES to continue
Click Next with default options
Provide password for AD restoration
![Page 15: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/15.jpg)
Read the configurations and Click on Next
![Page 16: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/16.jpg)
Progress windows of active directory installation wizard
Active Direction installation is successfully done at this point, server will take a reboot and give you logon screen with domain name.
![Page 17: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/17.jpg)
Logon to your Domain with administrative credentials
From Administrative Tools, you can see the Active Directory components are installed
![Page 18: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/18.jpg)
Correct your Preferred DNS Server
Configuring Revers Lookup Zone
Right click on Reverse Lookup Zone and click on New zone
![Page 19: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/19.jpg)
Click Next to continue
Click Next with default options selected
![Page 20: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/20.jpg)
Select the option as per your environment
Select IPv4 for Revers Lookup Zone
![Page 21: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/21.jpg)
Provide your Network ID
Select first option and click on Next
![Page 22: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/22.jpg)
Click Finish
Click on New Pointer (PTR)
![Page 23: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/23.jpg)
Click Browse to select A record
Select A record of your DC
![Page 24: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/24.jpg)
Click OK
Launch NSLOOK to verify name resolution
![Page 25: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/25.jpg)
DNS Results with NSLOOKUP
As you can see the results of DNS is OK. Name resolution is successfully from name to IP and IP to name. Let's start preparing & installing Exchange Server 2010 SP3 in Part-II of this series.
Step by Step Journey to Migration Exchange 2010 sp3
to Exchange Server 2016 Part-II
![Page 26: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/26.jpg)
Summary of Part-II
I will continue from Part-I of migration, in first part we have just configured domain
environment for installation of Exchange 2010 SP3, in this part we will install all
prerequisites of Exchange 2010 SP3 and itself Exchange 2010 setup.
VMs related configuration will remain same as described in part-I of our migration
guide. I will join the 2nd VM with Domain 2008 and login with Domain Admin
credentials to perform all tasks for the installation of Microsoft Exchange 2010 SP3.
Exchange 2010 VM Properties
I am using very less amount of memory in lab environment and joined the VM to the
existing domain controller which on Windows Server 2008.
![Page 27: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/27.jpg)
Network IP Setting for Exchange 2010 VM
As you can see I am using preffered DNS as first Domain Controller.
Installing prerequisites of Exchange 2010
Install Microsoft Filter Pack 2.0
![Page 28: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/28.jpg)
Accept the Agreement and Clikc on Next
You will see the successful message screen Click to continue
On the Start Menu, navigate to All Programs, then Accessories, then Windows PowerShell. Open an elevated Windows PowerShell console, and run the following command:
![Page 29: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/29.jpg)
Import-Module ServerManager Use the Add-WindowsFeature cmdlet to install the necessary operating system
components: a. For a server that will have the typical installation of Client Access, Hub
Transport, and the Mailbox role:
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart
This will install all required features for Exchange 2010 installation. On servers that will
have the Client Access Server role installed, after the system has restarted.
Log on as an administrator, open an elevated Windows PowerShell console, and configure the Net.Tcp Port Sharing Service for Automatic startup by running the following command: Set-Service NetTcpPortSharing -StartupType Automatic
![Page 30: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/30.jpg)
After installing RSAT-ADDS tool, restart the server.
Preparing Active Directory for Exchange 2010
Open Command Prompt. Type following command to prepare active directory for
installing Exchange Server. Mount Exchange 2010 SP3 DVD/ISO image into your VM.
D:\>setup /prepareschema
The second step is to prepare Active Directory for Exchange installation. Type your
organization name in Organization Name switch. Hit the following command in
command prompt.
![Page 31: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/31.jpg)
D:\> setup /prepareAD /OrganizationName:MSTECHGuru
Now to prepare this domain for Exchange server installation, hit the following commands in command prompt.
![Page 32: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/32.jpg)
D:\> setup /PrepareDomain
Now, we will install typical Exchange server that includes, Hub Transport, Client
Access and Mailbox. These roles are typical if you are installing only one Exchange
server for small environment.
Before stating the installation of Microsoft Exchange 2010 SP3 don’t forget to give a
reboot to your VM.
![Page 33: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/33.jpg)
Exchange 2010 SP3 Installation
Now, we will install typical Exchange server that includes, Hub Transport, Client
Access and Mailbox. These roles are typical if you are installing only one Exchange
server for small environment. Because this is the Lab environment so we will use all
roles in one server.
Mount your Exchange 2010 SP3 DVD into your Exchange VM and double click on it or
get inside and click on Setup file.
Click on Install Microsoft Exchange
![Page 34: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/34.jpg)
Click Next
Click on Next
![Page 35: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/35.jpg)
Click Next
Select Automatically install option & Click Next
![Page 36: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/36.jpg)
Select No and Click Next to continue
You can put the domain name as per your environment & Clieck Next
![Page 37: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/37.jpg)
Select I don’t want to join & Click Next
Click Finish & check Finalize this installation using the Exchange Management console
![Page 38: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/38.jpg)
Exchange Installation Completed Successfully
Give a reboot to your system.
Bulk User Creation in Active Directory
At this point we have successfully installed Microsoft Exchange 2010 SP3. Now we will
move for the next step. What we will do in the next step: -
• Bulk user’s creation in Active Directory of Windows Server 2008 with Script.
• Bulk mailbox creation in Exchange 2010 PowerShell
• Access Exchange 2010 OWA and check email send/receive with different users.
Let's create some test Users in AD and their respective mailboxes in Exchange. I am going to use a CSV file to create bulk users in Active Directory and we will use one PowerShell script to execute this CSV file. You can put necessary entries in CSV file. URL to download the script files.
![Page 39: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/39.jpg)
https://gallery.technet.microsoft.com/PowerShell-Bulk-Create-0927c0c0
PowerShell Script for Bulk Users
You can copy this code into a notepad & save it as .PS1 file. ########################################################### Import-Module ActiveDirectory $path = Split-Path -parent $MyInvocation.MyCommand.Definition $newpath = $path + "\import_users.csv" # Define variables $log = $path + "\created_ActiveDirectory_users.log" $date = Get-Date $i = 0 Function createActiveDirectoryUsers { "Created the following Active Directory users (on " + $date + "): " | Out-File $log -append "--------------------------------------------" | Out-File $log -append Import-CSV $newpath | ForEach-Object { $samAccount = $_.SamAccountName Try { $exists = Get-ADUser -LDAPFilter "(sAMAccountName=$samAccount)" }
![Page 40: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/40.jpg)
Catch { } If(!$exists) { $i++ # Set all variables according to the table names in the Excel # sheet / import CSV. The names can differ in every project, but # if the names change, make sure to change it below as well. $setpass = ConvertTo-SecureString -AsPlainText $_.Password -force New-ADUser -Name $_.DisplayName -SamAccountName $_.SamAccountName -GivenName $_.GivenName -Initials $_.Initials ` -Surname $_.SN -DisplayName $_.DisplayName -Office $_.OfficeName ` -Description $_.Description -EmailAddress $_.eMail ` -StreetAddress $_.StreetAddress -City $_.L ` -PostalCode $_.PostalCode -Country $_.CO -UserPrincipalName $_.UPN ` -Company $_.Company -Department $_.Department -EmployeeID $_.ID ` -OfficePhone $_.Phone -AccountPassword $setpass -Enabled $true -Path $_.OU $output = $i.ToString() + ") Name: " + $_.CN + " sAMAccountName: " $output += $sam + " Pass: " + $_.Password $output | Out-File $log -append } Else { "SKIPPED - USER ALREADY EXISTS OR ERROR: " + $_.CN | Out-File $log -append } } "----------------------------------------" + "`n" | Out-File $log -append } # Run function createActiveDirectoryUsers #End Script Copy both file in C:\ of your DC and go to PowerShell to execute .PS1 file.
![Page 41: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/41.jpg)
CSV file and PS1 file status C drive of your DC and run .\bulk_create_users.ps1
Now let's go to Active Directory Users and Computer to see newly created users.
Here we have successfully created 13 users in Active Directory. Let' s Go to Exchange 2010 SP3 to create mailboxes for these 13 users.
![Page 42: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/42.jpg)
Bulk Mailbox Creation in Exchange 2010
I am using here PowerShell to create bulk mailboxes from this OU .
Get-User -OrganizationalUnit "OU=MigrationUsers,DC=mstechguru,DC=Com"
|Enable-Mailbox -Database "Users4Migration"
I have created one Database named Users4Migraiton so that we can create mailboxes into this database.
Let's see the results
![Page 43: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/43.jpg)
We have successfully created mailboxes from Active Directory Users. Let's test one user
from OWA mail send/receive to other users.
Email Testing OWA Send/Receive
You can see I access Exchange 2010 SP3 with Server Name from OWA and login with
User1 we created above in AD & Exchange.
User1 is logged in from OWA and send one test email to all other users. Let's check test
mail on another user.
![Page 44: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/44.jpg)
Exchange 2010 Installation Completed
We have successfully received email from User1. Till here we have completed our
Migration Lab part I, and part II we will add one additional domain controller of
Windows Server 2016 Data Center Edition and also Add one Exchange Server 2016 on
Windows Server 2016 in the same AD domain so that we can start our migration from
Exchange 2010 SP3 to Exchange 2016.
In next lab which is Part-III, I will also do migration FSMO roles from Windows Server
2008 Active Directory Domain Controller to new Windows Server 2016 Active Directory
Domain Controller so that I can later demote Windows 2008 Domain with Exchange
2010.
This is time to add Windows Server 2016 Additional Domain Controller
LAB Part-III
![Page 45: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/45.jpg)
Installation of Windows Server 2016 as Domain
Windows Server 2016 properties for additional domain controller.
IP Addressing of ADC 2016
![Page 46: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/46.jpg)
Here 192.168.244.151 is our Domain Controller running Windows Server 2008 R2 You can check name resolution and ping to your 2008 DC.
Adding Roles for Active Directory
Go to Server manager and install ADDS roles, Click Add roles and features
![Page 47: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/47.jpg)
Click Next to continue
Click Next
![Page 48: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/48.jpg)
Click Next
Click Next to continue
![Page 49: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/49.jpg)
Select Active Directory Domain Services and Click Next
Click Next to continue
![Page 50: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/50.jpg)
Click Next
Click Next
![Page 51: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/51.jpg)
Click Close and give a reboot to your VM
Domain2016 Installation After reboot in Server Manager click on Promote this server to a domain controller
Click on first option click on select and provide administrative credentails, your domain name will appear select it and click on OK
![Page 52: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/52.jpg)
Click Next to continue
Select first two option, provide password & Click Next
![Page 53: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/53.jpg)
Click Next
![Page 54: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/54.jpg)
DC2008 will automatically be selected Click Next
Click Next with default options
![Page 55: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/55.jpg)
Click Next
Review the configuration & Click Next
![Page 56: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/56.jpg)
Click Install to begin the Domain2016 installation
After installation system will automatically restart, after restart you will see the logon screen
![Page 57: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/57.jpg)
DNS Setting Status at Domain2016 You can check the DNS status inside of Domain2016 everything is replicated from Domain2008.
Active Directory Status You can see that all user’s and other setting are replicated from Domain2008 to Domain 2016
![Page 58: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/58.jpg)
Nslookup Status
You need to check the Nslookup status for name resolution between Domain2008 to Domain2016 with names & IPs.
Installing Rollup update 13 on Exchange 2010 SP3
Check the current status of Exchange 2010 version Get-ExchangeServer | Format-List Name, Edition, AdminDisplayVersion
The current installed version is 14.3
![Page 59: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/59.jpg)
Download Rollup update from
http://www.techrid.com/?s=Exchange+Server+Build+Number&submit=
Start installing the setup
Click Continue
![Page 60: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/60.jpg)
Accept Agreement & Click Next
Click Next
![Page 61: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/61.jpg)
Installation status of Rollup 13
![Page 62: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/62.jpg)
Click Finish
Give a restart to your Exchange 2010 Server.
Transferring of FSMO Roles from Domain2008 to Domain2016
At this point we have added Domain2016 with Domain2008 environment, now we will
go for the migration of FSMO roles from Windows Active Directory Domain 2008 to
Windows Active Directory Domain 2016.
Let's check current status of FSMO roles. I have already added ADC of Windows
Server 2016 in Windows Server 2008 R2 Domain environment.
![Page 63: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/63.jpg)
Let's logon to Windows Server 2016 ADC and check FSMO and domain mode
Current domain and forest functional level of the domain is windows server 2008 R2
So, let’s start with the migrate process
Let’s check the current status & association of FSMO roles with which Domain
Controller.
1. 1. Click Start, click Run, type dsa.msc, and then click OK.
2. Right-click the selected Domain Object in the top left pane, and then click Operations Masters.
3. Click the PDC tab to view the server holding the PDC master role.
4. Click the Infrastructure tab to view the server holding the Infrastructure master role.
![Page 64: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/64.jpg)
5. Click the RID Pool tab to view the server holding the RID master role.
![Page 65: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/65.jpg)
In our example, the Windows Server 2008 R2 AD server holds all 5 FSMO roles. To
transfer FSMO toles, execute the following command on Windows Server 2016 ADC
PowerShell
Move-ADDirectoryServerOperationMasterRole -Identity DC2016 -OperationMasterRole SchemaMaster, DomainNamingMaster, PDCEmulator, RIDMaster, InfrastructureMaster
![Page 66: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/66.jpg)
Now let's verify that roles are transferred
![Page 67: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/67.jpg)
![Page 68: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/68.jpg)
Let's check Schema Master role Go to the PowerShell of Windows Server 2016 DC and type the following command
Type “regsvr32 schmmgmt.dll”, and then click OK. A message should be displayed stating that the registration was successful
![Page 69: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/69.jpg)
On the Console menu, click Add/Remove Snap-in
Select Active Directory Schema and Add Click OK
![Page 70: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/70.jpg)
Right click on Active Directory snap & click on operation master
You can see that schema master role also transferred to Domain2016.
Give a restart to your Server 2016 Domain Controller We have successfully transfer FSMO roles from Windows Server 2008 R2 to Windows Server 2016 Domain Controller.
![Page 71: Step by Step Journey to Migration Exchange 2010 sp3 to ......LAB Summary I have setup this LAB on VMWare work station 12.0. The whole lab is running on ThinkPad W541 with 32 GB of](https://reader033.vdocuments.us/reader033/viewer/2022060400/5f0ded0d7e708231d43cc30a/html5/thumbnails/71.jpg)
This is time to install Exchange 2016 into this environment At this point we have updated Exchange 2010 SP3 to Rollup 13 and also migrate FSMO
roles from windows 2008 domain controller to windows 2016 domain controller.
In the last part of our lab we will Install Exchange 2016 in our environment and do
some test mailboxes migration from Exchange 2010 to Exchange 2016 in co-existence
model.