Professional Documents
Culture Documents
Migrating From Exchange 2010 To 2016 PDF
Migrating From Exchange 2010 To 2016 PDF
MVPDays Publishing
http://www.mvpdays.com
All rights reserved. No part of this book may be reproduced or transmitted in any form or by any
means without the prior written permission of the publisher.
ISBN: TBA
Feedback Information
We’d like to hear from you! If you have any comments about how we could improve the quality
of this book, please don’t hesitate to contact us by visiting www.checkyourlogs.net or sending an
email to feedback@mvpdays.com.
Acknowledgements
iii
Acknowledgements
Acknowledgements
From Dave
Cristal, you are my rock and my source of inspiration. For the past 20 + years you have been
there with me every step of the way. Not only are you the “BEST Wife” in the world you are my
partner in crime. Christian, Trinity, Keira, Serena, Mickaila and Mackenzie, you kids are so patient
with your dear old dad when he locks himself away in the office for yet another book. Taking the
time to watch you grow in life, sports, and become little leaders of this new world is incredible to
watch.
Thank you, Mom and Dad (Frank and Audry) and my brother Joe. You got me started in this crazy
IT world when I was so young. Brother, you mentored me along the way both coaching me in
hockey and helping me learn what you knew about PC’s and Servers. I’ll never forget us as
teenage kids working the IT Support contract for the local municipal government. Remember
dad had to drive us to site because you weren’t old enough to drive ourselves yet. A great
career starts with the support of your family and I’m so lucky because I have all the support one
could ever want.
A book like this filled with amazing Canadian MVP’s would not be possible without the support
from the #1 Microsoft Community Program Manager – Simran Chaudry. You have guided us
along the path and helped us to get better at what we do every day. Your job is tireless and
your passion and commitment make us want to do what we do even more.
Last but not least, the MVPDays volunteers, you have donated your time and expertise and
helped us run the event in over 20 cities across North America. Our latest journey has us
expanding the conference worldwide as a virtual conference. For those of you that will read this
book your potential is limitless just expand your horizons and you never know where life will take
you.
iv
About the Authors
Dave is well-known in the community as an evangelist for Microsoft, 1E, and Veeam
technologies. Locating Dave is easy as he speaks at several conferences and sessions each year,
including TechEd, Ignite, MVP Days Community Roadshow, and VeeamOn.
Recently Dave has been honored to take on the role of Conference Co-Chair of TechMentor with
fellow MVP Sami Laiho. The lineup of speakers and attendees that have been to this conference
over the past 20 years is really amazing. Come down to Redmond or Orlando in 2018 and you
can meet him in person.
As the founder and Managing Principal Consultant at TriCon Elite Consulting, Dave is a leading
technology expert for both local customers and large international enterprises, providing optimal
guidance and methodologies to achieve and maintain an efficient infrastructure.
BLOG: www.checkyourlogs.net
Twitter: @DaveKawula
v
Cary Sun – CCIE #4531
Cary Sun is CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) and MCSE, MCIPT, Citrix
CCA with over twenty years in the planning, design, and implementation of network technologies
and Management and system integration. Background includes hands-on experience with multi-
platform, all LAN/WAN topologies, network administration, E-mail and Internet systems, security
products, PCs and Servers environment. Expertise analyzing user’s needs and coordinating
system designs from concept through implementation. Exceptional analysis, organization,
communication, and interpersonal skills. Demonstrated ability to work independently or as an
integral part of team to achieve objectives and goals. Specialties: CCIE /CCNA / MCSE / MCITP /
MCTS / MCSA / Solution Expert / CCA
Cary’s is a very active blogger at checkyourlogs.net and always available online for questions
from the community. He passion about technology is contagious and he makes everyone around
him better at what they do.
Blog:http://www.checkyourlogs.net
Twitter:@SifuSun
vi
Cary Sun – CCIE #4531
Technical Editors
Cristal Kawula – MVP
Cristal Kawula is the co-founder of MVPDays Community Roadshow and #MVPHour live Twitter
Chat. She was also a member of the Gridstore Technical Advisory board and is the President of
TriCon Elite Consulting. Cristal is also only the 2nd Woman in the world to receive the prestigious
Veeam Vanguard award.
Cristal can be found speaking at Microsoft Ignite, MVPDays, and other local user groups. She is
extremely active in the community and has recently helped publish a book for other Women
MVP’s called Voices from the Data Platform.
BLOG: http://www.checkyourlogs.net
Twitter: @supercristal1
vii
Cary Sun – CCIE #4531
He actively volunteers as a member of the Canadian Ski Patrol, providing over 250 hours each
year for first aid services and public education at Castle Mountain Resort and in the community.
BLOG: http://www.checkyourlogs.net
Twitter: @ecabot
viii
Cary Sun – CCIE #4531
ix
Contents
Contents
Acknowledgements ...................................................................................................... iv
From Dave ............................................................................................................. iv
Contents......................................................................................................................... x
Introduction ................................................................................................................. 14
Chapter 1...................................................................................................................... 17
Chapter 2...................................................................................................................... 23
Chapter 3...................................................................................................................... 36
Chapter 4...................................................................................................................... 56
Chapter 5...................................................................................................................... 80
Join us at MVPDays and meet great MVP’s like this in person .............................. 140
Live Presentations .................................................................................................. 140
Video Training......................................................................................................... 140
xii
Contents
xiii
Introduction North American MVPDays Community Roadshow
Introduction
MVPDays was founded by Cristal and Dave Kawula back in 2013. It started as a simple idea;
“There’s got to be a good way for Microsoft MVPs to reach the IT community and share their
vast knowledge and experience in a fun and engaging way” I mean, what is the point in
recognizing these bright and inspiring individuals, and not leveraging them to inspire the
community that they are a part of.
Anyone that has an interest in technology, is eager to learn, and wants to meet other like-
minded individuals. This Roadshow is not just for Microsoft MVP’s it is for anyone in the IT
Community.
Make sure you check out the MVPDays website at: www.mvpdays.com. You never know maybe
the roadshow will be coming to a city near you.
The goal of this particular book is to show you how to Migrate your legacy Exchange 2010
environment to Exchange 2016. We built based on our experience migrating live customer
environments.
14
Introduction North American MVPDays Community Roadshow
Sample Files
All sample files for this book can be downloaded from www.checkyourlogs.net and
www.github.com/dkawula
Additional Resources
In addition to all tips and tricks provided in this book, you can find extra resources like articles
and video recordings on our blog http://www.checkyourlogs.net.
15
Introduction North American MVPDays Community Roadshow
16
Chapter 1 Exchange 2016 Design Guidance
Chapter 1
The process described mainly focuses on a typical transition of Exchange 2010 to Exchange 2016
environment, converting the Exchange 2010 server to Exchange 2016 Server MBX role.
Additional role options such as the Unified Messaging Server role and Edge Transport role, are
out-of-scope within this document.
17
Chapter 1 Exchange 2016 Design Guidance
Internet
Internet
Exchange
2010 servers
18
Chapter 1 Exchange 2016 Design Guidance
Exchange 2010 Supported with Update Rollup 11 for Exchange 2010 SP3
or later on all Exchange 2010 servers in the organization,
including Edge Transport servers.
Mixed Exchange 2010 and Supported with the following minimum versions of
Exchange 2013 organization Exchange:
19
Chapter 1 Exchange 2016 Design Guidance
Component Requirement
Domain controllers All domain controllers in the forest need to be running one
of the following:
Active Directory forest The Active Directory forest functionality level needs to be
at Windows Server 2008 or higher.
Component Requirement
Mailbox and Edge Transport server Windows Server 2016 Standard or Datacenter
roles (Requires Exchange Server 2016 Cumulative
Update 3 or later)
20
Chapter 1 Exchange 2016 Design Guidance
.NET Framework
Exchange version .NET Framework 4.6.2 .NET Framework 4.6.1 .NET Framework 4.5.2
21
Chapter 1 Exchange 2016 Design Guidance
(.NET Framework
4.6.1 requires post-
release fixes if you
want to install it on a
server running
Exchange 2016 CU2.)
Supported clients
Outlook 2016
Outlook 2013
Outlook 2010 SP2 and updates KB2956191 and KB2965295
Outlook for Mac for Office 365
Outlook for Mac 2011
22
Chapter 2 Exchange 2016 Prerequisites
Chapter 2
23
Chapter 2 Exchange 2016 Prerequisites
24
Chapter 2 Exchange 2016 Prerequisites
Note
You can check for a minimum-required .NET Framework version by querying the
registry in PowerShell (.NET Framework 4.5 and later).
You can replace 394802 in the previous example with another value from the following
table to check for a different minimum-required .NET Framework version.
.NET Framework
378389
4.5
.NET Framework
378675
4.5.1
.NET Framework
379893
4.5.2
.NET Framework
393295
4.6
.NET Framework
394254
4.6.1
.NET Framework
394802
4.6.2
25
Chapter 2 Exchange 2016 Prerequisites
.NET Framework
460798
4.7
.NET Framework
461308
4.7.1
5. Download and install Microsoft Unified Communications Managed API 4.0, Core Runtime
64-bit
26
Chapter 2 Exchange 2016 Prerequisites
Note
Exchange 2016 CU5 and later require .NET Framework 4.6.2.
Upgrade your servers to .NET Framework 4.6.2 before you install
Exchange 2016 CU5 or you'll receive an error. If .NET Framework
4.5.2 is installed on your Exchange servers, upgrade your servers
to Exchange 2016 CU4 before installing .NET Framework 4.6.2.
5. Download and install Microsoft Unified Communications Managed API 4.0, Core Runtime
64-bit
27
Chapter 2 Exchange 2016 Prerequisites
28
Chapter 2 Exchange 2016 Prerequisites
Follow steps to check Active Directory and make sure they are meet the requirements in
Exchange 2016 system requirements.
1. Download Get-ADinfo.ps1 PowerShell script from follow link and save to c:\post-install:
https://github.com/cunninghamp/Powershell-Exchange/tree/master/ADInfo
2. Login exchange 2016 server, the account needs to be a member of the Schema Admins
and Enterprise Admins security groups.
29
Chapter 2 Exchange 2016 Prerequisites
4. Review all of information and mare sure they are meet the requirements in Exchange
2016 system requirements.
30
Chapter 2 Exchange 2016 Prerequisites
Note
You also can use cmdlet as follow to check the Active Directory and Domain Controller
information.
Get-ADForest
5. Download Cumulative Update 7 for Exchange Server 2016 (KB4018115) from link
https://www.microsoft.com/en-us/download/details.aspx?id=55953
31
Chapter 2 Exchange 2016 Prerequisites
32
Chapter 2 Exchange 2016 Prerequisites
33
Chapter 2 Exchange 2016 Prerequisites
10. You can review settings via ADSI EDIT tool and make sure everything is correct.
13236
Exchange 15332 16213
2016 CU7
34
Chapter 2 Exchange 2016 Prerequisites
13236
Exchange 15330 16213
2016 CU6
13236
Exchange 15326 16213
2016 CU5
13236
Exchange 15326 16213
2016 CU4
13236
Exchange 15326 16212
2016 CU3
13236
Exchange 15325 16212
2016 CU2
13236
Exchange 15323 16211
2016 CU1
13236
Exchange 15317 16210
2016 RTM
13236
Exchange 15317 16041
2016 Preview
35
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
Chapter 3
36
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
37
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
Note
Please make sure you are using the correct .Net Framework with
exchange 2016 version. It will happen error message as follow when they are
not match.
38
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
Deployment of Certificates
We can re-use existing SSL certificate for new Exchange 2016 server.
4. Select exchange CAS/HUB server and click certificate which use for exiting exchange
services.
39
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
7. On the Save As page, select path and type file name and then click Save.
40
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
8. On Export Exchange Certificate page, type password and then click Export.
41
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
42
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
10. Copy certificate file from exchange 2010 server to exchange 2016 server.
12. Open Exchange Administrative Center, select Continue to this website (not
recommended).
43
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
13. On the Exchange Admin Center page, type user name and password and then click sign
in.
44
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
15. Select certificates and then click and then select Import Exchange Certificate.
16. On the import Exchange certificate page, type certificate file name from a UNC path
and password and then click Next.
45
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
17. On the Specify the servers where you want to install the certificate page, click +.
46
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
18. Select server form list, click add and then click OK.
47
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
19. On the Specify the servers where you want to install the certificate page, click Finish.
48
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
49
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
Note
Run follow cmdlet to use the Exchange Management Shell to import a
certificate on an Exchange server.
Import-ExchangeCertificate -FileName \\localhost\c$\post-
install\certificate\gdmexternal.pfx -Password (ConvertTo-
SecureString -String 'super$2013' -AsPlainText -Force) -
PrivateKeyExportable $true -Server GDMEX02
You need to write down the Thumbprint if you would like to assign exchange
services for this certificate via cmdlet.
20. On the certificates page, select new add certificate and the click .
50
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
21. Select services, click SMTP, IIS (specify the exchange services that you want to assign
this certificate) and then click Save.
51
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
52
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
53
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
Note
Run follow cmdlet to use the Exchange Management Shell to assign
Exchange services to a certificate on an Exchange server.
Enable-ExchangeCertificate -Thumbprint
E6195C7F197AAD4C3E087C976EB9B0BC744D21C5 -Services SMTP,IIS -
Server GDMEX02
Run follow cmdlet to verify that you have successfully assigned a certificate to one
or more Exchange services.
Get-ExchangeCertificate | Format-List
FriendlyName,Subject,CertificateDomains,Thumbprint,Services
54
Chapter 3 Deploy Exchange Server 2016 Mailbox Role Server
55
Chapter 4 Configure Exchange Server 2016
Chapter 4
56
Chapter 4 Configure Exchange Server 2016
57
Chapter 4 Configure Exchange Server 2016
58
Chapter 4 Configure Exchange Server 2016
Note
If upgrading from exchange 2010. Outlook Anywhere must be enabled and
IIS Authentication Must be configured for co-existence, run follow cmdlet to enable
Outlook Anywhere and configure IIS Authentication.
Get-ExchangeServer | Where {($_.AdminDisplayVersion -Like
"Version 14*") -And ($_.ServerRole -Like "*ClientAccess*")} |
Get-ClientAccessServer | Where {$_.OutlookAnywhereEnabled -Eq
$False} | Enable-OutlookAnywhere -ClientAuthenticationMethod
Basic -SSLoffloading $False -ExternalHostName
mail.gooddealmart.ca -IISAuthenticationMethod NTLM,Basic
Note
Run follow cmdlet to change settings.
Get-OWAVirtualDirectory -Server GDMEX01 | Set-
OWAVirtualDirectory -ExternalUrl mail.gooddealmart.ca/owa
-InternalUrl mail.gooddealmart.ca/owa
60
Chapter 4 Configure Exchange Server 2016
Note
Run follow cmdlet to change settings.
Get-ECPVirtualDirectory -Server GDMEX01 | Set-
ECPVirtualDirectory -ExternalUrl mail.gooddealmart.ca/ecp
-InternalUrl mail.gooddealmart.ca/ecp
Note
Run follow cmdlet to change settings.
Get-OABVirtualDirectory -Server GDMEX01 | Set-
OABVirtualDirectory -ExternalUrl mail.gooddealmart.ca/OAB
-InternalUrl mail.gooddealmart.ca/OAB
Note
Run follow cmdlet to change settings.
Get-WebServicesVirtualDirectory -Server GDMEX01 | Set-
WebServicesVirtualDirectory -ExternalUrl
mail.gooddealmart.ca/EWS/Exchange.asmx -InternalUrl
mail.gooddealmart.ca/EWS/Exchange.asmx
62
Chapter 4 Configure Exchange Server 2016
Note
Run follow cmdlet to change settings.
Get-ActiveSyncVirtualDirectory -Server GDMEX01 | Set-
ActiveSyncVirtualDirectory -ExternalUrl
mail.gooddealmart.ca/Microsoft-Server-ActiveSync -InternalUrl
mail.gooddealmart.ca/Microsoft-Server-ActiveSync
63
Chapter 4 Configure Exchange Server 2016
Note
Run follow cmdlet to change settings.
Set-ClientAccessServer -Identity GDMEX01 -
AutodiscoverServiceInternalUri
https://mail.gooddealmart.ca/Autodiscover/Autodiscover.xml
64
Chapter 4 Configure Exchange Server 2016
$ExternalHostname = “mail.gooddealmart.ca”
$InternalHostname = “mail.gooddealmart.ca”
$Servername = “GDMEX02”
65
Chapter 4 Configure Exchange Server 2016
We can use a host to test with pilot users and make sure there are no issues.
3. Add mail.gooddealmart.ca map to the IP of exchange 2016 server, save and then close
the hosts file
66
Chapter 4 Configure Exchange Server 2016
4. Open outlook from the desktop of pilot user and make sure there are no issues.
1. Login to Domain Controller Server and make DNS change for internal clients
67
Chapter 4 Configure Exchange Server 2016
8. Change firewall NAT settings for external clients, make sure change the NAT map form
exchange 2010 to exchange 2016 server
3. Run follow cmdlet to create a new Offline Address Book and set it as Default
69
Chapter 4 Configure Exchange Server 2016
Get-OfflineAddressBook
70
Chapter 4 Configure Exchange Server 2016
We need to check the existing Receive Connectors of exchange 2010 server, and then create
them at exchange 2016 server.
3. On the Exchange admin center, select mail flow and then click receive connectors.
71
Chapter 4 Configure Exchange Server 2016
6. Select Frontend Transport Role and select Customize as type and then click Next.
72
Chapter 4 Configure Exchange Server 2016
7. On the Network adapter binding, keep the default IP ADDRESS and port 25 settings,
click Next.
73
Chapter 4 Configure Exchange Server 2016
8. On the Remote network settings, click – to remove the default IP ADDRESS and click +
to add IP address that the receive connector will accept mail and then click Finish.
74
Chapter 4 Configure Exchange Server 2016
10. Check the existing receive connector settings and select the same settings at
Authentication and Permission groups and then click Save.
75
Chapter 4 Configure Exchange Server 2016
76
Chapter 4 Configure Exchange Server 2016
We will change the SMTP out bound email flow from the old exchange 2010 server to exchange
2016 server.
3. On the Exchange admin center, select mail flow and then click send connectors.
77
Chapter 4 Configure Exchange Server 2016
5. On the Source server: , click – to remove exchange 2010 server and click + to add
exchange 2016 server and then click Save.
78
Chapter 4 Configure Exchange Server 2016
79
Chapter 5 Connectivity and Mail Flow Test
Chapter 5
Microsoft Remote Connectivity Analyzer a very good tool to test connectivity and mail flow.
2. Select Exchange Server and click Outlook Connectivity and then click Next.
80
Chapter 5 Connectivity and Mail Flow Test
81
Chapter 5 Connectivity and Mail Flow Test
82
Chapter 5 Connectivity and Mail Flow Test
Note
If Connectivity test failed, you need to Expand All and figure out the error and then fix
it, for this case, it’s Testing HTTP Authentication Method test failed, Run follow cmdlet to
verify and change settings.
Get-OutlookAnywhere | FT Identity,*auth* -AutoSize
83
Chapter 5 Connectivity and Mail Flow Test
2. Select Exchange Server and click Outlook Autodiscover and then click Next.
84
Chapter 5 Connectivity and Mail Flow Test
85
Chapter 5 Connectivity and Mail Flow Test
2. Select Exchange Server and click Exchange ActiveSync and then click Next.
86
Chapter 5 Connectivity and Mail Flow Test
87
Chapter 5 Connectivity and Mail Flow Test
Note
If Connectivity test failed, you need to Expand All and figure out the errors and then
fix it, in this case, the error is Exchange ActiveSync returned an HTTP 500 response (Internal
Server Error), Run follow steps to fixed it.
1. Open Active Directory Users and Computers, right-click the test user name
and then select Properties.
88
Chapter 5 Connectivity and Mail Flow Test
89
Chapter 5 Connectivity and Mail Flow Test
3. On the Advanced Security Settings page, click Enable inheritance and then
click Apply.
90
Chapter 5 Connectivity and Mail Flow Test
4. On the Permissions Warning page, click Yes and then click OK.
91
Chapter 5 Connectivity and Mail Flow Test
2. Select Exchange Server and click Exchange ActiveSync Autodiscover and then click
Next.
92
Chapter 5 Connectivity and Mail Flow Test
4. Make sure that Autodiscover was successfully tested for Exchange ActiveSync.
93
Chapter 5 Connectivity and Mail Flow Test
94
Chapter 5 Connectivity and Mail Flow Test
4. Make sure that Tests of all Exchange Web Services tasks completed successfully.
2. Select Exchange Server and click Inbound SMTP Email and then click Next.
95
Chapter 5 Connectivity and Mail Flow Test
4. Make sure that Inbound SMTP mail flow was verified successfully.
96
Chapter 5 Connectivity and Mail Flow Test
5. Make sure the test user received a Microsoft Remote Connectivity Analyzer Test
Message.
97
Chapter 5 Connectivity and Mail Flow Test
8. Header information appears in the Internet headers box, select and copy all Internet
headers.
10. Select Message Analyzer, paste Internet headers and click Analyze headers.
98
Chapter 5 Connectivity and Mail Flow Test
99
Chapter 5 Connectivity and Mail Flow Test
2. Select Exchange Server and click Outbound SMTP Email and then click Next.
100
Chapter 5 Connectivity and Mail Flow Test
7. Login Gmail Account and open the email and select Show original.
101
Chapter 5 Connectivity and Mail Flow Test
10. Select Message Analyzer, paste Internet headers and click Analyze headers.
102
Chapter 5 Connectivity and Mail Flow Test
103
Chapter 6 Post-Configuration Steps
Chapter 6
Post-Configuration Steps
104
Chapter 6 Post-Configuration Steps
105
Chapter 6 Post-Configuration Steps
106
Chapter 6 Post-Configuration Steps
To further verify that you have the same Quota settings for all Mailbox Database.
107
Chapter 6 Post-Configuration Steps
2. Run follow cmdlet to check Mailbox Database Offline Address Book settings.
108
Chapter 6 Post-Configuration Steps
Get-OfflineAddressBook
3. Run follow cmdlet to change Mailbox Database Offline Address Book settings.
Get-MoveRequest | Get-MoveRequestStatistics
110
Chapter 6 Post-Configuration Steps
111
Chapter 7 Mailbox Migration
Chapter 7
Mailbox Migration
Migrate Pilot mailboxes via Exchange Administrative Center
112
Chapter 7 Mailbox Migration
4. Click Select the users that you want to move and click + sign.
5. On Select Mailbox page, Select Pilot users, click Add, click OK and then click Next.
113
Chapter 7 Mailbox Migration
6. On the Move configuration page, enter New migration batch name and select
others required options, click Next.
114
Chapter 7 Mailbox Migration
7. On the Start the batch page, select recipients to receive the report after batch
complete, click new.
115
Chapter 7 Mailbox Migration
8. Wait until status is completed and the user will receive complete report.
116
Chapter 7 Mailbox Migration
117
Chapter 8 Public Folder Migration
Chapter 8
There is no more legacy public folder database, public folder mailboxes also knows as modern
public folders, if you still need public folders, migrate them to Exchange 2016.
Public folder migration is a one-way process, if something goes wrong, you can roll back but any
changes made since the migration will be lost.
118
Chapter 8 Public Folder Migration
119
Chapter 8 Public Folder Migration
5. Run the following command to take a snapshot of public folder statistics such as
item count, size, and owner.
120
Chapter 8 Public Folder Migration
121
Chapter 8 Public Folder Migration
7. If the name of a public folder contains a backslash \, the public folders will be
created in the parent public folder when migration occurs. Before you migrate,
we recommend that you rename any public folders that have a backslash in the
name. Run the following command to locate public folders that have a backslash
in the name.
122
Chapter 8 Public Folder Migration
8. If any public folders are returned, you can rename them by running the following
command.
9. To make sure there isn’t a previous record of a successful migration, run following
cmdlet to check the public folder migration status.
123
Chapter 8 Public Folder Migration
Set-OrganizationConfig -PublicFoldersLockedforMigration:$false -
PublicFolderMigrationComplete:$false
Get-PublicFolderMigrationRequest | Get-
PublicFolderMigrationRequestStatistics -IncludeReport | Format-List
124
Chapter 8 Public Folder Migration
14. Run the following command to removes any existing public folder serial migration
requests.
Get-PublicFolderMigrationRequest | Remove-PublicFolderMigrationRequest
15. Run the following command to discover any existing batch migration requests.
16. Run the following command to remove any existing batch migration requests.
17. Run the following command to make sure no public folder mailboxes exist on the
exchange 2016 server.
Get-Mailbox -PublicFolder
125
Chapter 8 Public Folder Migration
18. If the command returned any public folders, run the following command to see if
any public folders exist
Get-PublicFolder
19. If you have any public folders, run the following commands to remove them. Make
sure you've saved any information that was in the public folders.
.\Export-PublicFolderStatistics.ps1 C:\Post-
Install\PFMigration\PFSizeMap.csv GDMEX01.gooddealmart.ca
126
Chapter 8 Public Folder Migration
127
Chapter 8 Public Folder Migration
128
Chapter 8 Public Folder Migration
Note:
Maximum mailbox size in bytes = 20000000000, the value 20000000000 is used to
represent 20 GB
Folder to size map path = C:\Post-Install\PFMigration\PFSizeMap.csv
24. Open PFMailboxMap.csv file and change “Mailbox1” to “PFMailbox1” and then
save.
129
Chapter 8 Public Folder Migration
.\Create-PublicFolderMailboxesForMigration.ps1 -FolderMappingCsv
PFMailboxMap.csv -EstimatedNumberOfConcurrentUsers:200
Note:
130
Chapter 8 Public Folder Migration
Start-MigrationBatch PFMigration
131
Chapter 8 Public Folder Migration
32. Open Exchange Admin Center and click recipients and then select migration, you
will see the PFMigration batch status change to Syncing now.
132
Chapter 8 Public Folder Migration
133
Chapter 8 Public Folder Migration
34. We are going to lock and complete the public folder for migration
(downtime required)
35. Login to Exchange 2010 Server.
36. Open Exchange Management Shell as local administrator
37. Run the following command to lock the legacy public folders for
finalization.
Set-OrganizationConfig -PublicFoldersLockedForMigration:$true
134
Chapter 8 Public Folder Migration
41. Run the following command to complete the public folder migration.
Complete-MigrationBatch PFMigration
135
Chapter 8 Public Folder Migration
43. Run the following command to assign some test mailboxes to use any
newly migrated public folder mailbox as the default public folder
mailbox.
136
Chapter 8 Public Folder Migration
44. If everything looks okay, run the following command to unlock the
public folders for all other users.
Get-Mailbox -PublicFolder | Set-Mailbox -PublicFolder -
IsExcludedFromServingHierarchy $false
137
Chapter 8 Public Folder Migration
51. Run following command on the Exchange 2016 and compare files
contents with previously files and verify success.
Well that wraps up this amazing book on Exchange 2010 to Exchange 2016 migration. Stay
tuned as in our next book we will Migrate this Exchange 2016 environment to Office 365.
138
Chapter 8 Public Folder Migration
139
Contact Us Join us at MVPDays and meet great MVP’s like this in person
Contact Us
Live Presentations
Dave frequently speaks at Microsoft conferences around North America, such as TechEd,
VeeamOn, TechDays, and MVPDays Community Roadshow.
www.checkyourlogs.net
www.mvpdays.com
Video Training
For video-based training, see the following site:
www.mvpdays.com
140
Contact Us Join us at MVPDays and meet great MVP’s like this in person
www.truesec.com
www.checkyourlogs.net
Consulting Services
Dave and Cristal have worked with some of the largest companies in the world and have a
wealth of experience and expertise. Customer engagements are typically between two weeks
and six months.
141
Contact Us Join us at MVPDays and meet great MVP’s like this in person
Twitter
Dave, Cristal, Émile, and Cary on Twitter tweet on the following aliases:
142