Code:
$Domain = GetObject("LDAP://ou=Users,dc=something,dc=com")
$user = $Domain.Create("user", "cn=" + $userName)

why do i call the user an OU? The OU is called "USERS".


Edited by therob (2007-09-26 04:31 PM)
_________________________
Eternity is a long time, especially towards the end. - W.Allan