Arposh New User Creation tool comes out of beta!

With the impending start of the 2012 Scripting Games, I had the urge to script.  Thanks to that, the Arposh New User Creation tool has been updated and is now at version 1.0!

New in 1.0:
  • Updated to be compatible with PowerShell v3 Beta
  • Enter custom sAMAccountName, Display Name, and userPrincipalName in single-user and CSV modes
  • Turn off auto-generation of sAMAccountName, Display Name, and userPrincipalName in single-user mode
  • Better error-handling during user creation
  • Set new accounts as enabled or disabled
  • Set 'Password must change at logon' to enabled or disabled 
  • Minor bug fixes
To download the new release and see more information, check out the download page on the TechNet ScriptCenter.

12 comments:

  1. It would be nice to see comments about how people could customize this to do various default group membership, fill in profile folder info, etc.

    Thank you, Tom

    ReplyDelete
  2. Hi,

    Can I modify the URL field of user account?. I tried and got message @ shell "New-ADUser : A parameter cannot be found that matches name Url". I am not sure it was my fault when modifying your tool or ADUser does not support adding data to Url field.

    I appreciate your help!

    Thank you, Peter

    ReplyDelete
    Replies
    1. This tool does not allow you to modify the URL field out of the box. It is possible, however, modify the tool to allow you to do that if you wish.

      To set the URL for a new user with New-ADUser, you would need to use the OtherAttributes parameter (See Example #2 in Get-Help New-ADUser -Examples for more details).

      Delete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. Hi Rich,

    My name is Denny, creator of Z-hire app. I think it would beneficial for us to partner up since we write free software for IT community.

    http://gallery.technet.microsoft.com/Z-Hire-Employee-Provisionin-e4854d6b

    let me know

    ReplyDelete
  5. How would be the best way to use the script to connect to different domain using different credentials?? My problem is i would like to try to run this centrally but im having a problem getting it to run from a management server which i use to service 3 domains. thanks

    ReplyDelete
  6. Rich,

    Im looking to add the FTP attibutes to this script. I keep having a problem with adding the attribute because of the - in msiis-FTProot. Any idea on overcoming this?

    At C:\acsa\NewUserAccount\ANUC2.ps1:348 char:25
    + msIIS-FTPDir <<<< = $samAccountName
    + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : MissingEqualsInHashLiteral

    ReplyDelete
    Replies
    1. Try putting quotes around the 'msIIS-FTPDir' attribute.

      Delete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. Hi Rich,

    thanks in advance.

    Is there a way add the Employee ID field?
    HM


    ReplyDelete
  9. Hi Rich,

    Many thanks for this awesome script.

    I have created my own cut-down version and was hoping to implement the dynamically updating displayname field as you have. I am having troubles finding the exact code needed to accomplish this by simply viewing your source.

    I was wondering if you could provide some tips or a sample snippet of code of what is required?

    ReplyDelete
    Replies
    1. After a lot more trial and error I managed to find the right sequence of code to update the textboxes. Thanks again!

      Delete