Re: Re: Determine domain and forest functional level values thru script?

Tech-Archive recommends: Speed Up your PC by fixing your registry




No.

You can run
adfind -nodn -csv -nocsvheader -b -s base forestfunctionality domainfunctionality

to return
"2","2"

which is "forest","domain"



On Mon, 2 Jan 2006 09:24:50 -0500, "Spin" <Spin@xxxxxxxx> wrote:

>Joe, is there also a way to do this with dsquery, from the CMD-line?
>
>--
>Spin
>
>"Joe Richards [MVP]" <humorexpress@xxxxxxxxxxx> wrote in message
>news:OA8cdGxDGHA.3064@xxxxxxxxxxxxxxxxxxxxxxx
>> Have the script pull the
>>
>> domainFunctionality
>> forestFunctionality
>>
>> attributes from the rootdse.
>>
>>
>> Or use a command line tool to do it
>>
>>
>> C:\>adfind -b -s base domainfunctionality forestfunctionality
>>
>> AdFind V01.27.00cpp Joe Richards (joe@xxxxxxxxxxx) November 2005
>>
>> Using server: 2k3dc01.joe.com:389
>> Directory: Windows Server 2003
>>
>> dn:
>> >domainFunctionality: 2
>> >forestFunctionality: 2
>>
>>
>> 1 Objects returned
>>
>>
>>
>> http://support.microsoft.com/default.aspx?scid=kb;en-us;322692
>>
>>
>>
>>
>> --
>> Joe Richards Microsoft MVP Windows Server Directory Services
>> www.joeware.net
>>
>>
>> Spin wrote:
>>> Experts,
>>>
>>> Happy New Year!!!!
>>>
>>> Do any of you know if there is a script I can run that can return the
>>> domain and forest functional level? I am looking for an alternative to
>>> viewing this through the GUI which I already know how to do.
>>>
>

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
.



Relevant Pages

  • Re: Determine domain and forest functional level values thru script?
    ... I see what you mean now Joe. ... >I think you are supposed to be responding to the thread that was about ... > Joe Richards Microsoft MVP Windows Server Directory Services ... > Spin wrote: ...
    (microsoft.public.windows.server.active_directory)
  • Re: CSVDE xclude OUs [WILDPACKET]
    ... This posting is provided "as is" with no warranties and confers no rights ... Thanks Joe for the reply. ... > csvde nor LDAP for that matter does not have that functionality. ... > Joe Richards Microsoft MVP Windows Server Directory Services ...
    (microsoft.public.windows.server.active_directory)
  • Re: pop up a dialog box everytime I shut it down
    ... Dave Patrick ....Please no email replies - reply in newsgroup. ... "Spin" wrote: ... | Given a Windows Server 2003 machine. ...
    (microsoft.public.windows.server.general)
  • Re: multiple email domains
    ... >mailNickname: joe ... Joe Richards Microsoft MVP Windows Server Directory Services ... I know in Exchange 5.5 it was possible but i did not find anything for routing domains in Exchange 2003 ... Can exchange 2003 host multiple other email domain without them being in the active directory? ...
    (microsoft.public.exchange2000.active.directory.integration)
  • Re: Users Password from Active Directory
    ... > AD doesn't store clear text passwords, it stores one way password hashes. ... > Joe Richards Microsoft MVP Windows Server Directory Services ... >> Server and i need this for some administrative purposes. ...
    (microsoft.public.win2000.active_directory)