Stupid way to add domain users in batches

  

Browse domain users in the most stupid way. I read a lot of posts on how to add domain users in batches. I won't write scripts, and I won't use batch loops. I ponder for a long time, write the file with excel, and then copy it to the bat file to do the batch to add users. First make an excel table, two pages. The A page is an output page for batch processing, and the B page is a page for inputting various information of the user. The A page uses the formula to refer to the information of the B page. Note that a space is added after each command switch in the B page, otherwise there is no space between the switch and the information after referring to the A page. Before adding a batch user, you will get a table of user information of hr, copy the corresponding information to the relevant position of the B page, and the A page will automatically generate the command line. Copy the A page into a notepad, replace all the blanks between the command switches with spaces, save them as bat files and run them, so that ok. This method is stupid, but it is also beneficial, you can easily fill in the user's various information on the B page. The attachment is my machine excel table, some command switches are not added, there is a need to add and then edit it.

Copyright © Windows knowledge All Rights Reserved