Microsoft Exchange Server There are important preparations that need to be made before starting the installation. These preparations include: Active Directory expansion and preparation of the schema. After these processes are completed, it is important to verify what has been done.
Find Exchange Server Schema Version with PowerShell
Exchange Server Before performing the version upgrade for Scheduling We need to control our versions, this is important for our environment to work healthily.
Bu islemi ADSI as we can do via PowerShell We can also do it practically by running the script below.
###############################################################################
# Get Exchange AD Schema Version
###############################################################################
#Needs ActiveDirectory PowerShell Module
# Exchange Schema Version
$sc = (Get-ADRootDSE).SchemaNamingContext
$ob = "CN=ms-Exch-Schema-Version-Pt," + $sc
Write-Output "RangeUpper: $((Get-ADObject $ob -pr rangeUpper).rangeUpper)"
# Exchange Object Version (domain)
$dc = (Get-ADRootDSE).DefaultNamingContext
$ob = "CN=Microsoft Exchange System Objects," + $dc
Write-Output "ObjectVersion (Default): $((Get-ADObject $ob -pr objectVersion).objectVersion)"
# Exchange Object Version (forest)
$cc = (Get-ADRootDSE).ConfigurationNamingContext
$fl = "(objectClass=msExchOrganizationContainer)"
Write-Output "ObjectVersion (Configuration): $((Get-ADObject -LDAPFilter $fl -SearchBase $cc -pr objectVersion).objectVersion)"
When you run the script I shared RangeUpper, ObjectVersion (Default) and ObjectVersion (Configuration) You can see the versions.
- rangeUpper, In the context of schema naming ms-Exch-Schema-Version-Pt is found in the properties of the container.
- objectVersion (Default)The objectVersion property is located in the properties of the Microsoft Exchange System Objects container in the default naming context.
- objectVersion (Configuration), In the configuration naming context, under Services > Microsoft Exchange in the properties of the container objectVersion is a feature.
Finding Exchange Server Schema Versions Using ADSI
Above rangeUpper, objectVersion(Default) and objectVersion(Configuration) We have given information about where the objects are located, based on this information ADSI We can provide the necessary controls via.
ADSI Edit Windows Server on you Active Directory is a tool used to manage structures and Lightweight Directory Access Protocol (LDAP) directly via Active Directory provides access to objects.
- Open ADSI Edit:
- From the start menu
Run
Open the (Run) dialog. adsiedit.msc
type andEnter
by pressing ADSI EditStart .
- From the start menu
- Creating Links:
- In the ADSI Edit window, right-click
Connect to
Select the option. Select a well known Naming Context
in optionSchema
Select the context andOK
Click the button.
- In the ADSI Edit window, right-click
- Schema Object Access and RangeUpper Control
- Go to the Schema directory you linked to.
- In the schema directory,
CN=Schema,CN=Configuration,DC=yourdomain,DC=com
by following a path likeSchema
reach the object. - You can check the rangeUpper section in the Properties section of the “CN=ms-Exch-Schema-Version-Pt” object in the Schema object.
- Checking ObjectVersion(default) Values
- In the ADSI Edit window, right-click
Connect to
Select the option. Default Naming Context
We connect with the option- Microsoft Exchange System Object We come to the object and open the Properties section
- We can view the objectVersion(Default) value.
- In the ADSI Edit window, right-click
- Finding ObjectVersion(Configuration)
- In the ADSI Edit window, right-click
Connect to
Select the option. Configuration
We connect with the option- In the Services – Microsoft Exchange – OrganizationName step, we come to the Properties section.
- We can view the version of objectVersion(Configuration).
- In the ADSI Edit window, right-click
Exchange Server 2019 Schema Versions
Exchange 2019 version | rangeUpper | objectVersion (Default) | objectVersion (Configuration) |
---|---|---|---|
Exchange 2019 CU14 | 17003 | 13243 | 16762 |
Exchange 2019 CU13 | 17003 | 13243 | 16761 |
Exchange 2019 CU12 | 17003 | 13243 | 16760 |
Exchange 2019 CU11 with KB5014260 | 17003 | 13243 | 16759 |
Exchange 2019 CU11 | 17003 | 13242 | 16759 |
Exchange 2019 CU10 | 17003 | 13241 | 16758 |
Exchange 2019 CU9 | 17002 | 13240 | 16757 |
Exchange 2019 CU8 | 17002 | 13239 | 16756 |
Exchange 2019 CU7 | 17001 | 13238 | 16755 |
Exchange 2019 CU6 | 17001 | 13237 | 16754 |
Exchange 2019 CU5 | 17001 | 13237 | 16754 |
Exchange 2019 CU4 | 17001 | 13237 | 16754 |
Exchange 2019 CU3 | 17001 | 13237 | 16754 |
Exchange 2019 CU2 | 17001 | 13237 | 16754 |
Exchange 2019 CU1 | 17000 | 13236 | 16752 |
Exchange 2019 RTM | 17000 | 13236 | 16751 |
Exchange 2019 Preview | 15332 | 13236 | 16213 |
Exchange Server 2016 Schema Versions
Exchange 2016 version | rangeUpper | objectVersion (Default) | objectVersion (Configuration) |
---|---|---|---|
Exchange 2016 CU23 | 15334 | 13243 | 16223 |
Exchange 2016 CU22 with KB5014260 | 15334 | 13243 | 16222 |
Exchange 2016 CU22 | 15334 | 13242 | 16222 |
Exchange 2016 CU21 | 15334 | 13241 | 16221 |
Exchange 2016 CU20 | 15333 | 13240 | 16220 |
Exchange 2016 CU19 | 15333 | 13239 | 16219 |
Exchange 2016 CU18 | 15332 | 13238 | 16218 |
Exchange 2016 CU17 | 15332 | 13237 | 16217 |
Exchange 2016 CU16 | 15332 | 13237 | 16217 |
Exchange 2016 CU15 | 15332 | 13237 | 16217 |
Exchange 2016 CU14 | 15332 | 13237 | 16217 |
Exchange 2016 CU13 | 15332 | 13237 | 16217 |
Exchange 2016 CU12 | 15332 | 13236 | 16215 |
Exchange 2016 CU11 | 15332 | 13236 | 16214 |
Exchange 2016 CU10 | 15332 | 13236 | 16213 |
Exchange 2016 CU9 | 15332 | 13236 | 16213 |
Exchange 2016 CU8 | 15332 | 13236 | 16213 |
Exchange 2016 CU7 | 15332 | 13236 | 16213 |
Exchange 2016 CU6 | 15330 | 13236 | 16213 |
Exchange 2016 CU5 | 15326 | 13236 | 16213 |
Exchange 2016 CU4 | 15326 | 13236 | 16213 |
Exchange 2016 CU3 | 15326 | 13236 | 16212 |
Exchange 2016 CU2 | 15325 | 13236 | 16212 |
Exchange 2016 CU1 | 15323 | 13236 | 16211 |
Exchange 2016 RTM | 15317 | 13236 | 16210 |
Exchange 2016 Preview | 15317 | 13236 | 16041 |