PowerShell: Raise Domain Forest Functional Level

# Raise Forest Functional Level
$forest=Get-ADForest

# 2012R2 Level
Set-ADForestMode -Identity $forest -Server $forest.SchemaMaster -ForestMode Windows2012R2Forest -Force
# 2016 Level
Set-ADForestMode -Identity $forest -Server $forest.SchemaMaster -ForestMode Windows2016Forest -Force

2 thoughts on “PowerShell: Raise Domain Forest Functional Level”

  1. this command didnt work on windows 2012 r2, i received an error that a parameter Confirm=$false does not exist

Leave a Reply

Your email address will not be published. Required fields are marked *