Server Management - Remote Server Management
1752565 Members
5599 Online
108788 Solutions
New Discussion юеВ

Scripting AD object creation

 
David J. Nelson
Advisor

Scripting AD object creation

I have a vbscript cobbled together that creates the hpqTarget and hpqRole objects in Active Directory. The only thing I can't figure out is how to set the password on the hpqTarget object.

Any ideas?

Thanks!
-- Dave
2 REPLIES 2
Derek Anderson_1
New Member

Re: Scripting AD object creation

any way i can get a copy.. im working on the same thing and have been banging my head on the wall..
CoreyC
New Member

Re: Scripting AD object creation

As it turns out, the hpqTarget is part of the Active Directory USER SuperClass, so if you do some searches for how to create a user in AD you'll see exactly how to do it.

As a starting point I'd recommend:
http://techtasks.com/code/viewbookcode/1555

and

http://msdn2.microsoft.com/en-us/library/Aa772136.aspx

good luck!