From http://community.spiceworks.com/scripts/show/1917-active-directory-user-creation-tool