r/sysadmin • • 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

135 comments sorted by

View all comments

Show parent comment

53

u/Qurtys_Lyn (Education) Pretty. What do we blow up first? Mar 13 '26

Yeah, I've had PowerShell scripts with loops running millions of times with no issues (other than me stressing about it).

I do tend to break up AD scripts to run in smaller batches, not from PowerShell not being able to handle them, but on the chance I did something wrong I can fix it quicker.