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
 
 
 
 
 
4.2 Star
(163)
105,075 times
Add to favorites
Active Directory
12/4/2012
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Changing the CN attribute
    2 Posts | Last post April 06, 2017
    • Hi there,
      
      Is there a way to change the CN attributes.
      This script work perfect but somehow the CN attribute does not respect the AD.
      When creating the user directly in AD, the CN looks like LASTNAME, Firtsname, but using the script it shows FirstName, LASTNAME (the DisplayName is correct)
      I tried to add the following line but it throws an error :
      
      Rename-adobject -identity $sAMAccountName (get-aduser $sAMAccountName).distinguishedname -NewName $DisplayName
      
      any idea maybe ?
    • it's woking with the following 
      
      
       Rename-ADobject -Identity (Get-ADUser$sAMAccountName).DistinguishedName  -NewName ($Surname + ", " + $GivenName)
  • Auto Populate
    1 Posts | Last post January 13, 2017
    • Hi There,
      
      Love your application. Tremendously awesome.
      
      I was wondering if there would be a way to incorporate a copy as function.
      
      That is to say enter in the Generic details for a new user and copy the groups and permissions of an existing AD User ?
      
      
  • Group Member
    1 Posts | Last post December 21, 2016
    • In which line can i add Add-ADGroupMember, so that i can add the group membership of the user, also i would like to when selected a department in the combo box, that it would reflect the Add-ADGroupMember @department @samaccountname
      
      Thanks for a great script
  • User logon name
    1 Posts | Last post December 02, 2016
    • Dear Mr Prescott,
      
      Can we manually decide "User logon Name" using csv file?
      
      It seems that there is no way to put "User login name" into a csv.
      
      Thanks for your help.
      
      Cheers,
  • Configuration
    1 Posts | Last post November 12, 2016
    • ANIC.ps1 creates the initial configuration via an xml. While I try to implement the necessary ones for my organization, I remove some properties and add some others. Then I decided to create a configurator, which will include almost all of the properties Active Directory support. So the initial configuration xml file will be the product of a form mainly based on dozens of checkboxes for the admin to select those needed.. And the job of ANUC form would become only user creation. To help myself in finding features, I tried to create tabs just the same tabs in the AD Users and Computers' new user dialog form. But since I don't have Sapien's PrimalForms 2011 and use Powershell ISE to develop, I fucked it up after a while.
      
      Would you please add this in your roadmap? Can you add a initial configuration form?
  • CSV with comma values
    1 Posts | Last post August 25, 2016
    • Im not sure if i am doing this correctly, the "path" value contains commas. So that breaks the whole idea with csv.. If I encapsulate the value with hyphens It imports into the gui, but the powershell crashes..
  • Organisational Unit Friendly Name
    1 Posts | Last post July 28, 2016
    • Great Tool!  We have a complicated Organization unit structure and i ws wondering if ther is a way to use " friendly names "either changing someing in the XML file or the powershell script itself.
      
      ex: Marketing as friendly name that points to the Ou=user,Ou=marketing,dc=domain,dc=local
      
      Thank you for your time
  • Change XML file samAccountName
    1 Posts | Last post June 17, 2016
    • I'm testing your script to ad users to the AD.
      Looking good. Thanks for your work.
      
      I have a problem I can't solve right now, because of my lack of knowledge od XML programming
      1. Change the samAccountname to firstinitial + 4 characters of lastname + follow number e.g. jpete1
      
      Could anyone help?
      
      Regards
      
      Frans
  • Add Suffix with Last Name
    1 Posts | Last post June 07, 2016
    • is it possible to Add Suffix with Last Name if the user with the same last name exists. 
      
      for example: Paul Walker1 and if Paul Walker1 already exists it should create Paul Walker2. 
      
  • Add homedrive
    1 Posts | Last post March 03, 2016
    • Hi, great script! Is it possible in a later release to add home folder capability in the profile tab for the user? In the meanwhile does anyone no where in this script I can do it? I think something like this should do it:  
      Set-ADuser -Identity SamAccountName -HomeDrive "H:" -HomeDirectory "\\server\share\%UserName%"
      
      Erik
1 - 10 of 124 Items