Server Management - Remote Server Management

Scripting AD object creation

David J. Nelson

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?

-- Dave
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..
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:


good luck!