domainroot, forestroot and specifying a domain
Posted on 2010-11-17
Hi guys hope you can help.
We have several subdomains, and when I run the following:
dsquery * domainroot -filter "(&(objectCategory=Computer))" -attr Name operatingSystem operatingSystemServicePack -limit 0
It targets the current domain I am in.
What Id like to do is to change the domain focus to point to another subdomain and perform the same query against that subdomain.
Any help greatly appreciated.