2008年5月21日

摘要: SYNTAX:CreateUser.Ps1 -name "CN=johnny" -ou "ou=TestOU" -dc "dc=ehloex,dc=lab" 1: if($ou) 2: { "Creating user $name in LDAP://$ou,$dc" 3: $ADSI = [ADSI]"LDAP://$ou,$dc" 4: } 5: ELSE 6: { "Creating... 阅读全文
posted @ 2008-05-21 00:51 johnny tu 阅读(416) 评论(0) 推荐(0) 编辑

导航