Auto add of enabled functional users so you can build up a test pool of users or other objects….
Â
[Wed 06/21/2006 22:46:46.36]
F:\Dev\CPP\AdMod>admod -e -add -autobase 25:cn=autouser,ou=autousers,dc=joe,dc=com -bmod {{*RDN*}}_{{*cnt*}},{{*parent*}} objectclass::user -kerbenc unicodepwd::{{*rnd*:6:8}} samac
countname::{{*name*}}_{{*cnt*}} useraccountcontrol::512 -exterr
AdMod V01.07.00cpp_ALPHA Joe Richards (joe@joeware.net) June 2006
DN Count: 25
Using server: 2k3dc02.joe.com
Adding specified objects…
  DN: cn=autouser_0,ou=autousers,dc=joe,dc=com… “UZ0Hn*#T”
  DN: cn=autouser_1,ou=autousers,dc=joe,dc=com… “R;MG]#0l”
  DN: cn=autouser_2,ou=autousers,dc=joe,dc=com… “S8Lks~J”
  DN: [...]