Raise AD Domain and Forest Levels using PowerShell

Get-ADDomain | select domainMode, DistinguishedName

image

Get-ADForest | select forestMode

image

 

Raise the Domain Functional Level

 

Set-ADDomainMode -identity afd.ink -DomainMode Windows2012R2Domain -PassThru


image

image

 

Raise the Forest Functional Level

$Forest = Get-ADForest

Set-ADForestMode -Identity $Forest -Server $Forest.SchemaMaster  -ForestMode Windows2012R2Forest -PassThru

image

 

Invoke-WebRequest -Uri  "https://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3/vcredist_x64.exe"  -OutFile "d:\vc++2013x64\vcredist_x64.exe"

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章