Hi,
I am trying to get a list of user atributes for the entire AD forest. The command string that I have so far, returns all of the atributes that I want, but It only returns from the child domain that I am currently logged into.
How do get it to return result from the entire forest?
Here is the command that I am using.
dsquery.exe * -limit 0 -filter "(&(objectCategory=person)(objectClass=user)(mail=*))" -attr userPrincipalName title givenName initials sn mail streetAddress st postalCode co telephoneNumber ADsPath >"c:\PrimaryEmailAddresses3.txt"
What do I need to change to make it return all results from the entire forest and all child domains?
I am new to this tool. Any help is greatly appreciated.
Thanks
Bookmarks