Powershell Tip #65: Get the forest and domain functional levels By powershellgu | November 16, 2015 0 Comment Tip: You can get the forest and domain functional levels : PowerShell function Get-ADFunctionalLevel { [PSCustomObject]@{ ForestMode = (Get-ADForest).ForestMode DomainMode = (Get-ADDomain).DomainMode } } 1234567 function Get-ADFunctionalLevel{ [PSCustomObject]@{ ForestMode = (Get-ADForest).ForestMode DomainMode = (Get-ADDomain).DomainMode }}