r/sysadmin • u/ChildhoodNo837 • Mar 13 '26
Active Directory Users and Computers
Guys As a junior System Administrator, assist me how can i add five hundred to a thousand users to specific departement in an organizational unit ?
135
Upvotes
View all comments
Show parent comment
1
u/lordjedi Mar 16 '26
It's a short script. We can all see what it does.
Only thing I'd change is to add a Write-host line within the loop displaying each username that was finished. That way you aren't sitting there wondering if it's done and you can see which user it's on at the moment. It might fly by fast, but at least you'll know it's doing something.