In Part 1 of New User Automation we looked at creating the user account in Active Directory, copying all of the properties we needed and adding the new user to all of the proper groups. Now we need to create the home directory, set the permissions and finally update the Spiceworks ticket with the information we created.
I think just about every Windows Administrator takes a look at new user automation, and frankly in Windows 2003 rarely did more then look. With the “Copy” feature in Active Directory Users and Computers (ADUC) and the Exchange 2003 plug-ins to ADUC you could pretty much do everything you wanted from one Window. But with Exchange 2007 Microsoft decided to “improve” things and make the process 2 steps instead of one. Suddenly doing things in scripting started making a lot more sense. Here’s my take on it.