Hi,
I’m new on making scripts on multi domains
I have to automate Adding users from 2 different domains into a Domain local group of a third domain.
Difficulty 2 : +/- 80% of the domain controlers still are Win2003 servers … so : so long Webservices or Quest Tools
So long as you have at least one DC running the AD Web Service Gateway (which 2008R2+ has by default), you can use the AD cmdlets from the RSAT. And, the Quest cmdlets operate against any version of AD. You could also use the old-old-old ADSI: provider, like we did in the VSBcript days.
Whell…
Option 1 not operational
And facing constant errors when trying to perform command…
I’m 1 not used to work against multiple domains, and not used to revers engineering (only faminiar with AD cmdlets
There’s no way to have one command run against multiple domains automatically. You’ll have to use a ForEach loop against a list of domains, so that the command runs one at a time against each domain. So it’s no different than working against a single domain.
Unfortunately, I can’t help with “constant errors” when you haven’t shared those errors. Additionally, I’m not sure what “reverse engineering” you’re having to do.
I’d suggest starting over with a new thread. Share some of what you’re actually trying, and share what’s going wrong, or the error messages. As is, I can’t read your mind well enough to see what might be happening.