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.

ANUC.ps1
 
 
 
 
 
(113)
62,324 times
Add to favorites
Active Directory
12/4/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Path format
    2 Posts | Last post July 23, 2014
    • HI I'm trying to import from CSV. What is the path format to use?  the delimitation for the CSV file are comma so if I put my path(OU=employeNR,DC=groupetci,DC=com)in the CVS file then the system takes the comma in the path in consideration. hope im clear  
    • I think you have to put Quotes around any entries like the OU path, so "OU=employeNR,DC=groupetci,DC=com" should work.
  • Import-Csv : The member "" is already present
    1 Posts | Last post July 07, 2014
    • Trying to setup a test and have anytime there are duplicate entries it throws the The member "" is already present
      
      Seems like it does it when adding duplicate items to any of the following in the csv
      
      Office	Title	Description	Department	Company
      
      Any thoughs
      
  • password viewable?
    1 Posts | Last post June 12, 2014
    • Hi Rich,
       
      I am wondering if is possible to change the setting to make the password viewable upon entry?
  • add-adgroupMember "GroupName"
    1 Posts | Last post June 06, 2014
    • Hi Rich,
      
      Do you know if it is possible to add a group membership line in the script...
      
      Something like
      add-adgroupMember "GroupName"
      
      Thanks!
  • How to add attributes to the script.
    1 Posts | Last post May 13, 2014
    • I'm looking to add the following AD attributes to this script as well as use them in CSV mode.
      
      employeeNumber
      homeDirectory
      homeDrive
      
      Any help would be greatly appreciated.
      
      Thanks!!
  • email id field
    1 Posts | Last post April 29, 2014
    • Hi,
      
      is there any possibility to populate Active Directory smtp email id field?
      
      Thanks.
  • Help - Can add Single User but when i Submit all it creates errors
    1 Posts | Last post April 02, 2014
    • Hi, 
      
      Can anyone please help, hoping its something simple. when i use the Script to create one user in CSV Mode it works but when i submit all it fails. i get the error in Powershell below 
      
      New-ADUser : The object name has bad syntax
      At D:\ANUC\ANUC.ps1:606 char:4
      +             New-ADUser @User -ErrorVariable ADError
      +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          + CategoryInfo          : NotSpecified: (CN=Controlled U...DC=Cal,DC=local:String) [New-ADUser], ADException
          + FullyQualifiedErrorId : The object name has bad syntax,Microsoft.ActiveDirectory.Management.Commands.NewADUser
      
      Anyone any Ideas? 
      
      Rgds
      Martin Hoolickin
      
      
  • To Set password never expires and User cannot change password.
    1 Posts | Last post March 23, 2014
    • Hi,
      
      I would like to allow the script to Set password never expires and User cannot change password.
      
      I've test adding PasswordNeverExpires = $true to the $User definitions but seems not working. 
      
      Any idea anyone?
      
      Regards
      Chua
  • Create users with CSV mode
    1 Posts | Last post March 15, 2014
    • Hi, 
      I would like to know how create users by CSV mode, because I don't know how it works or who put the var like "FirstName".
      When I import CSV file i have only ID ..
      Anyone can help me ? 
      I'm french student. 
      Thank You.
  • CSV mode import not working
    1 Posts | Last post March 05, 2014
    • I'm trying use this on a new 2012r2 DC to create a few hundred users. I used your template file to create the CSV. When I import the CSV nothing populates & I get no errors(including in event viewer). Am I missing something? Is it necessary to modify the options file even when running CSV mode? 
      
      Mahalo,
      Aaron
1 - 10 of 93 Items