New User Creation Script

A script to create a new user account in Active Directory and it actually works! I'm not sure where I got this from originally but I have amended it quite heavily to remove some bugs / get it the way I need it to be.

This will probably need quite a few amendments to be tailored to your environment, but once you have got it set up it will make creating User Accounts easy peasy!

Source Code

This script has not been checked by Spiceworks. Please understand the risks before using it.

7 Comments

Glad you's like it, I have completely changed the script now to add users to groups depending on department, etc, but I haven't posted it here as it is so tailored to our environment!
If you need any help amending it just let me know!

@Russo Since this version I have changed it completely! It now offers a list of user departments and adds users to their respective user groups.
Recently though I have only made a few bug fixes to the user groups section (I have not fully tested them all as we have so many chuffing departments!)
I have been a bit busy lately with my Computer Management Utility script, which is becoming a more sordid affair day by day!

Stubar i love this script, unfortunatly i'm not too hot at adapting it. I would like to be able to give this to some admin workers to deal with pupil accounts. Could you help? Even a look at the version mentioned in the previous post would be great.
Keep up the good work.

Hey guys. I am pretty new to Spiceworks and I absolutely love it. I have a feeling this script is what I am looking for. My company will be using the help desk over multiple clients and many different locations. I was wondering if I can use this script to allow them to create there own usernames in the portal. If so, Where do I insert it? Thanks for any feedback guys. I already have AD server linked to Spiceworks and syncing is functioning properly.
Any feedback is good feedback.