- Get link
- X
- Other Apps
Verify Exchange server schema upgrade - [Powershell Script Included]
To verify schema verify below attributes, you can use Adisedit to verify the same.
To verify the AD schema has been successfully updated, check the Forest and Domain ObjectVersion and RangeUpper property in ADSI Edit.
Below Examples are for the Exchange Server SP3.
Forest ObjectVersion can be seen here: 14322
Configuration à CN=Configuration,DC=<YourDomain>,DC=com à CN=Services à CN=Microsoft Exchange à CN=<YourDomain>.
RangeUpper can be seen here: 14734
Schema à CN=Schema,CN=Configuration,DC=<YourDomain>,DC=com à CN=ms-Exch-Schema-Version-PT
Domain ObjectVersion can be seen here: 13040
Domain à DC=ds,DC=<YourDomain>,DC=com à CN=Microsoft Exchange System Objects.
Configuration à CN=Configuration,DC=<YourDomain>,DC=com à CN=Services à CN=Microsoft Exchange à CN=<YourDomain>.
RangeUpper can be seen here: 14734
Schema à CN=Schema,CN=Configuration,DC=<YourDomain>,DC=com à CN=ms-Exch-Schema-Version-PT
Domain ObjectVersion can be seen here: 13040
Domain à DC=ds,DC=<YourDomain>,DC=com à CN=Microsoft Exchange System Objects.
$myDomain = [System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain() $dclist = $myDomain.Forest.Domains | foreach { $_.DomainControllers } $schemacontainer = $dclist[0] | foreach { $_.partitions | where { $_ -like"CN=schema*" }} $ErrorActionPreference="silentlycontinue" $dclist | foreach { $schemadets = "" | select name,adschemaversion,exchschemaversion $schemadets.name = $_.name $schemadets.adschemaversion = (([ADSI] "LDAP://$($_.name)/$schemacontainer").objectversion)[0] $schemadets.exchschemaversion = (([ADSI] "LDAP://$($_.name)/CN=ms-Exch-Schema-Version-Pt,$schemacontainer").rangeUpper)[0] $schemadets}
Exchange
|
Forest (rangeUpper)
|
Forest (objectVersion)
|
Domain (objectVersion)
|
2000 RTM
|
4397
|
N/A
|
4406
|
2000 SP3
|
4406
|
N/A
|
4406
|
2003 SP2
|
6870
|
6903
|
6936
|
2003 RTM
|
6870
|
6903
|
6936
|
2007 RTM
|
10637
|
10666
|
10628
|
2007 SP1
|
11116
|
11221
|
11221
|
2010 RTM
|
14622
|
12640
|
12639
|
2007 SP2
|
14622
|
11222
|
11221
|
2007 SP3
|
14625
|
11222
|
11221
|
2010 SP1
|
14726
|
13214
|
13040
|
2010 SP2
|
14732
|
14247
|
13040
|
2010 SP3
|
14734
|
14322
|
13040
|
2013 RTM
|
15137
|
15449
|
13236
|
2013 CU1
|
15254
|
15614
|
13236
|
2013 CU2
|
15281
|
15688
|
13236
|
2013 CU3
|
15283
|
15763
|
13236
|
2013 SP1
|
15292
|
15844
|
13236
|
2013 CU5
|
15300
|
15870
|
13236
|
2013 CU6
|
15303
|
15965
|
13236
|
2013 CU22
|
15312
|
16131
|
13236
|
2013 CU10-CU21(*)
|
15312
|
16130
|
13236
|
2013 CU7-CU9 (*)
|
15312
|
15965
|
13236
|
2016 RTM
|
15317
|
16210
|
13236
|
2016 Preview
|
15317
|
16041
|
13236
|
2016 CU1
|
15323
|
16211
|
13236
|
2016 CU2
|
15325
|
16212
|
13236
|
2016 CU4-CU5(*)
|
15326
|
16213
|
13236
|
2016 CU3
|
15326
|
16212
|
13236
|
2016 CU6
|
15330
|
16213
|
13236
|
2016 CU12
|
15332
|
16215
|
13236
|
2016 CU11
|
15332
|
16214
|
13236
|
2016 CU7-CU10(*)
|
15332
|
16213
|
13236
|
2019 CU1
|
17000
|
16752
|
13236
|
2019 RTM
|
17000
|
16751
|
13236
|
- Get link
- X
- Other Apps
Comments
Post a Comment