I have done a lot of scripting to do things in AD, but 90% of it has been in a single domain environment. I now have the need to query data from multiple (2) domains.
What do I need to do differently? I normally use the same old ADO search/query and bounce out the stuff I want or don't want. I always use the RootDSE to dynamically grab the domain that the user is logged into and find the DC dynamically that way.
I need to know what steps do I need to change in order to query users and putting out a single report for both domains.
Thanks in Advance.
What do I need to do differently? I normally use the same old ADO search/query and bounce out the stuff I want or don't want. I always use the RootDSE to dynamically grab the domain that the user is logged into and find the DC dynamically that way.
I need to know what steps do I need to change in order to query users and putting out a single report for both domains.
Thanks in Advance.