Sunday, September 16, 2007

Scripts for Active Directory

Creation of computer accounts in

DSADD Computer ?CN=NBK001,OU=EastOffice,DC=amrmc,DC=com? -desc ?Sales Rep Computer? -loc ?East Branch Office?

Reset account in same OU

DSQUERY Computer ?OU=eastbranch,DC=amrmc,DC=com? | DSMOD computer -reset

No comments: