I’ve multiple ADs in my network, and i wanted to create powershell script, that creates accounts in these different ADs.
i believe I’ve to follow these steps.
- Create multiple connections (lets say AD1 AD2, etc)
- Make AD manipulations for each AD actions (Get-ADUsers, Set-ADUsers, etc.)
- Close these AD connections after each actions performed.
Thank you in advance