Re: Query active directory



You could try a couple of things. The command gpresult that is also used to
find Group Policy settings will show user/computer container and group
information. Otherwise the AD command line tools such as dsquery and dsget
can also do what you want.

Steve

http://www.microsoft.com/windowsxp/using/setup/expert/gpresults.mspx --
gpresult
http://technet2.microsoft.com/WindowsServer/en/library/59bec076-01fe-4d09-8b4b-296e7fa9c5571033.mspx?mfr=true
--- AD command line tools


"Lasse" <Lasse@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5C523725-D0B6-44C4-B7DA-BCFAEE3F9B6F@xxxxxxxxxxxxxxxx
Hi

Don't know if this is the correct forum but I will try any way.

I have a Windows XP computer thats connected to a Active Directory. Is
there
any DOS commands that can return the current users OU or group in the
AD???

/Lasse


.