Get the AD Forest Level

Get the AD Forest Level

Many installations of third party software integrates with Active Directory, and it becomes important to know what version of AD you are running. These steps can be done from any workstation running Powershell that is a member of the domain. In my example, I did the following:

  1. Login to a workstation or server in the domain
  2. Run Powershell
  3. Run Get-ADdomain | fl Name, DomainMode
  4. Run Get-ADForest | fl Name, DomainMode
  5. Exit from Powershell
  6. Logoff

The screen shot shows me logging into a test domain, and finding out that it is running domain level 2012 and forest level 2012. So, this domain could support federated servers running version 2.0. But, if you wanted the latest version of federation, then they need to upgrade to domain level 2016 and forest level 2016.