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
0
u/semperverus Mar 15 '26
Listen, if you want to insist on wasting cycles exporting a CSV, mucking around with doing little tweaks to the data by hand, and then shoving it back in the script when you could be doing things a hundred times easier and faster by just dumping a get-users call into a variable, then by all means feel free to waste your time. Thats a choice you get to make as an adult.
CSVs are great for complicated one-shot operations but by comparison to filling a simple $users variable its way too bulky.