Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Determine the Windows <domain>

3 views
Skip to first unread message

IT Staff

unread,
Sep 1, 2008, 2:56:38 AM9/1/08
to
We have a root forest, follow by a child domain.

How do i use powershell to determine whether it is Windows 2000 Native, etc
?


Shay Levy [MVP]

unread,
Sep 1, 2008, 7:59:17 AM9/1/08
to

For forest functional level:

[System.DirectoryServices.ActiveDirectory.Forest]::GetCurrentForest().ForestMode


Domain functional level:

[System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain().DomainMode

---
Shay Levy
Windows PowerShell MVP
http://blogs.microsoft.co.il/blogs/ScriptFanatic

IS> We have a root forest, follow by a child domain.
IS>
IS> How do i use powershell to determine whether it is Windows 2000
IS> Native, etc ?
IS>


0 new messages