NerdyHearn
Home
Blog

Contact
Mailing List

Software

Active Directory Products
Object Compare
Permission Compare

IPhone Products
Calls To Calendar
SMS To CSV
SMS To Gmail
Voicemail To Gmail

Sites
How Long For Me
SaveMySerials

Blog
Twitter

NerdyHearn - Blog


<< Back To All Blogs

Determine Forest and Domain Functional Levels in Powershell

Thursday, November 6th, 2014

A quick and easy post:

Import-Module ActiveDirectory

# Get the forest functional level
(Get-ADForest).ForestMode

# Get the domain functional level
(Get-ADDomain).DomainMode

Easy enough!

ADin' Tom Out.

Tags

PowerShell

Related Blogs

Uninstalling PowerShell V1.0 from Windows Server 2003
Recursively removing SVN bindings with PowerShell
Using Remote Powershell
Some Useful Powershell commands for the Linux nerds out there
Customizing PowerShell for faster development with a default profile

Comments

Currently no comments.

Add A Comment

Name:


URL:


Email Address: (not public, used to send notifications on further comments)


Comments:



Enter the text above, except for the 1st and last character:


NerdyHearn - Latest tech news relating to C#, ASP.NET, SharePoint, PHP, general development, and more. SaveMySerials - Protect yourself from theft, fire, natural disasters and more by recording your serial numbers