Powershell Tip #65: Get the forest and domain functional levels By powershellgu | November 16, 2015 1 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 }}
Pingback: Powershell Tip #66: Backup system state with Windows Server 2012 | Powershell Guru