Active Directory User Creation tool 1.2

One task that every systems administrator has to go through at some point is the creation of new user accounts. Powershell makes this process simple and adds additional functionality, such as the ability to set defaults and import users from CSV.

82,701 times
Add to favorites
Active Directory
E-mail Twitter Digg Facebook
Sign in to ask a question

  • Manager Field
    1 Posts | Last post August 04, 2015
    • Great tool, Kudos. But I noticed that the Manager field is not present. Can you please add?
      Thank you,
  • Can someone help me with the below error ?
    1 Posts | Last post July 14, 2015
    • Exception calling "Add" with "1" argument(s): "Object reference not set to an i
      nstance of an object."
      At line:261 char:35
      +                 $User.SubItems.Add <<<< ($SubItem)
          + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
          + FullyQualifiedErrorId : DotNetMethodException
  • Warning
    1 Posts | Last post July 13, 2015
    • Can someone help me with this warning message whiles trying to import the users.  "You are using an older version of the Option file. Please generate a new Option file and transfer your settings"
      Need help 
  • Great script
    1 Posts | Last post June 25, 2015
  • adding more options for drop downs and states
    6 Posts | Last post June 17, 2015
    • hello, 
      I have been utilizing this tool for more than 2 weeks now. made my life easier on the school network with student accounts. However, I am wondering if there is any way to add more OU Paths, departments and address or states options to choose from. I am able to add tow OU paths, but none after that. Our organization has over 35 separate dept. groups and adding these each would help make life easier and cut my time in half. I have looked over the coding, but being newbie to scripting, i am getting no-where. any help would be greatly appreciated. thanks, Vince
    • :( figured it out, my issue was not that i couldn't add anymore OU paths, one of my paths had an ampersand & killing the process. now figure out how to exclude that as a string only... hmmmm
    •  a path includes the & sign. what can i do to tell the script to not run the & in background? 
      Path of OU: <Path>OU=MyOU,OU=Boys & Girls Club,OU=Domain,DC=domain,DC=domain</Path>
      please help anybody? thanks
    • Take a look at this link. It has an excellent explanation for how to escape special characters
    • HI Mate, 
      Did you ever get a fix for this? 
      I am completely stumped. 
      Powershell is great, but can't believe the headache an "&" creates!
    • Edit, answered my own question. 
      It's actually got to do with XML. 
      If you have an OU with an "&" in it's DN, you'll have to tell XML to use &amp;
      ou=customer & community in AD is ou =customer &amp; community in XML, so it can tell the PS side of things that it's actually customer & community. 
      Learn something new everyday. 
      Hope this helps somebody
  • How to customize script.
    1 Posts | Last post May 05, 2015
    • I just found this script and already know it will save me hours when creating users for our company.  I do have some questions though, first are we able modify the user after we import the csv file?  We put the prefix of Dr. before our doctors and want to be able to make this change without changing the script.  Another question is instead of the drop down for the decription and display name, can it directly pull from the csv file instead?
      All assistance is extremely appreciated.  
  • Getting an error in New-ADUser?
    2 Posts | Last post May 05, 2015
    • Hello, I'm getting the error at the bottom. What does this mean?
      New-ADUser : Directory object not found
      At C:\Users\eric.turner\Documents\Active Directory\New User\ANUC.ps1:377 char:3
      +         New-ADUser @User -ErrorVariable ADError
      +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : ObjectNotFound: (CN=Test Smith,O...kosoft,DC=local:String) [New-ADUser], ADIdentityNotFo
          + FullyQualifiedErrorId : ActiveDirectoryCmdlet:Microsoft.ActiveDirectory.Management.ADIdentityNotFoundException,M
    • Did you ever get any help?  im getting the same error and would like to find out what im doing wrong.  
  • Samaccount
    1 Posts | Last post April 21, 2015
    • Hello, 
      I am trying to modify the script in order to create the accounts as followings 
      If the firstname is one capital letter, the username should be 
      Lastname+Firstname First name: John LastName: Anderson Username: AndersonJohn
      If the first name is more than one capital letter, the username is LastName+Capitals Letters from the First names. Lastname Sebastian GN: RichardKing Username: SebastianRK
      Is there anybody that can help me with this request, I am not very good on scripting, but I want to learn, any ideas?
      Thank you. 
  • Group membership in CSV and in the tool?
    1 Posts | Last post April 08, 2015
    • Hello,
      Could you add an option to list AD-groups you want for the user in CSV-file? This way I could create user with CSV and at the same time add him to specific AD-groups.
      Maybe you could use Powershell command Add-ADGroupMember:
  • Account Creation with memberships
    1 Posts | Last post April 07, 2015
    • I'm trying to get rid of the 30 "templates" we use to [right click][copy] create new users.  The reason... DG memberships causing bouncebacks and other issues.  So I'm attempting to script something that will create the users WITH the correct memberships.  I was thinking your script is beautiful for this if I could have either the description or the job title pull in a csv file that has all the memberships for THAT job.  Since I'm new at this I'm not sure how to make this happen. Would love some help or be guided in the right direction.
      Thank You!
1 - 10 of 108 Items