I have a request to add all users from my site in NYC to a specific group in AD, so I need your help to analyze possible service impact of doing this, because this group will allow users within this group use a third party tool for printer mapping and management called Printer Logic.
So, from a performance point of view, do you oversees any potential service impact or performance issues?
can you please test the following script to make sure will add all users in the domain or site?
Unfortunately, our AD has multiple OUs, across multiple site and we do not want to include service accounts or disabled accounts to this group. so if you believe this script should be updated, please make the corrections and testing, and send back to me
$user = Get-ADUser -filter *
$Group = "<name of group>"
ForEach ($samAccountName in $user)
Add-ADGroupMember $Group -members $samAccountName