Answered by:
Determine forest functional level by command.

Question
-
Hi,
I would like to know if there is a way to determine the forest functional level and the domain functional level, from the command line or powershell.
Thanks in advance,
Argi
Monday, October 17, 2011 9:31 AM
Answers
-
Hi
Run The below DSQUERY
Dsquery * CN=Partitions,CN=Configuration,DC=Mydomain,DC=com -scope base -attr msDS-Behavior-Version
Output:
msDS-Behavior-Version
2The attributes that indicates DFL and FFL:
- Forest level setting
Name: msDS-Behavior-Version
Path: CN=Partitions, CN=Configuration, DC=<Forestrootdomain>, DC=com
Value: 0 or not set=mixed level forest
1=Windows Server 2003 interim forest level
2=Windows Server 2003 forest level
3=Windows Server 2008 forest level
- Domain level setting
Name: msDS-Behavior-Version
Path: DC=<domain>, DC=<Forestrootdomain>, DC=com (domain root)
Value: 0 or not set=mixed level domain
1=Windows Server 2003 domain level
2=Windows Server 2003 domain level
3=Windows Server 2008 domain level
- Mixed/Native mode setting
Name: ntMixedDomain
Path: DC=<domain>, DC=<Forestrootdomain>, DC=com (domain root)
Value: 0=Native level domain
1=Mixed level domain
Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.- Edited by Tanmoy Manik Monday, October 17, 2011 9:56 AM
- Proposed as answer by bshwjt Monday, October 17, 2011 9:56 AM
- Marked as answer by ArgiDio Monday, October 17, 2011 10:14 AM
Monday, October 17, 2011 9:55 AM
All replies
-
sse this
Best regards Biswajit Biswas Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights. MCP 2003,MCSA 2003, MCSA:M 2003, CCNA, MCTS, Enterprise AdminMonday, October 17, 2011 9:44 AM -
Hi
Run The below DSQUERY
Dsquery * CN=Partitions,CN=Configuration,DC=Mydomain,DC=com -scope base -attr msDS-Behavior-Version
Output:
msDS-Behavior-Version
2The attributes that indicates DFL and FFL:
- Forest level setting
Name: msDS-Behavior-Version
Path: CN=Partitions, CN=Configuration, DC=<Forestrootdomain>, DC=com
Value: 0 or not set=mixed level forest
1=Windows Server 2003 interim forest level
2=Windows Server 2003 forest level
3=Windows Server 2008 forest level
- Domain level setting
Name: msDS-Behavior-Version
Path: DC=<domain>, DC=<Forestrootdomain>, DC=com (domain root)
Value: 0 or not set=mixed level domain
1=Windows Server 2003 domain level
2=Windows Server 2003 domain level
3=Windows Server 2008 domain level
- Mixed/Native mode setting
Name: ntMixedDomain
Path: DC=<domain>, DC=<Forestrootdomain>, DC=com (domain root)
Value: 0=Native level domain
1=Mixed level domain
Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.- Edited by Tanmoy Manik Monday, October 17, 2011 9:56 AM
- Proposed as answer by bshwjt Monday, October 17, 2011 9:56 AM
- Marked as answer by ArgiDio Monday, October 17, 2011 10:14 AM
Monday, October 17, 2011 9:55 AM -
Thanks a lot for the immediate answer.Monday, October 17, 2011 10:15 AM
-
The powershell cmd Get-ADDomain and Get-ADForest powershell cmd will give you. You can also use free ADfind tool.
http://blog.joeware.net/index.php?s=dfl
Regards
Awinish Vishwakarma
MY BLOG: awinish.wordpress.com
This posting is provided AS-IS with no warranties/guarantees and confers no rights.- Proposed as answer by Dale DU-IT Thursday, November 10, 2016 7:09 PM
Monday, October 17, 2011 10:17 AM -
Thanks a lot for the immediate answer.
Happy to help
Disclaimer: This posting is provided AS-IS with no warranties or guarantees and confers no rights. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.Monday, October 17, 2011 10:53 AM