tossolution.com
Set-ADForestMode PowerShell Cmdlet Script - TOSS
The Set-ADForestMode cmdlet sets the Forest mode for an Active Directory forest. You specify the forest mode by setting the ForestMode parameter.