Created
January 8, 2019 21:42
-
-
Save OmerMicrosoft/dd427f70c836bc86a3d5bf7ceef75b88 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Changing The Forest Level | |
$CurrentForest = Get-ADForest | |
Set-ADForestMode -Identity $CurrentForest -Server $CurrentForest.SchemaMaster -ForestMode Windows2008R2Forest | |
#Changing The Domain Level | |
$CurrentDomain = Get-ADDomain | |
Set-ADDomainMode -Identity $CurrentDomain.Name -Server $CurrentDomain.PDCEmulator -DomainMode Windows2008R2Domain |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment