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
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.
ReplyDeleteThank you, Tom
Hi,
ReplyDeleteCan 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
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.
DeleteTo 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).
This comment has been removed by a blog administrator.
ReplyDeleteHi Rich,
ReplyDeleteMy 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
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
ReplyDeleteRich,
ReplyDeleteIm 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
Try putting quotes around the 'msIIS-FTPDir' attribute.
DeleteThis comment has been removed by a blog administrator.
ReplyDeleteHi Rich,
ReplyDeletethanks in advance.
Is there a way add the Employee ID field?
HM
Hi Rich,
ReplyDeleteMany 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?
After a lot more trial and error I managed to find the right sequence of code to update the textboxes. Thanks again!
Delete