Powershell Tip #37: Determine the Forest and Domain functional levels By powershellgu | September 8, 2015 0 Comment Tip: You can determine the domain and forest functional levels: PowerShell function Get-ADFunctionalLevel { [PSCustomObject]@{ Forest = $((Get-ADForest).ForestMode) Domain = $((Get-ADDomain).DomainMode) } } 1234567 function Get-ADFunctionalLevel{ [PSCustomObject]@{ Forest = $((Get-ADForest).ForestMode) Domain = $((Get-ADDomain).DomainMode) }}