Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
cancel

Scripting AD object creation

Highlighted
David J. Nelson
Valued Contributor.

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
Derek Anderson_
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
Frequent Contributor.

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!