Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

COPY a user account

Status
Not open for further replies.

JPJeffery

Technical User
May 26, 2006
600
GB
I'm writing a script to create an AD user account and it's coming along nicely, but very often a user account is created by copying an existing account (mainly because of the group memberships).

But, I've not yet been able to find an example of the basic code required to copy a user account, or code to pull out the properties of an existing account and use that extracted info to base the new account upon.

Can someone give me a pointer or two, please?

JJ
[small][purple]Variables won't. Constants aren't[/purple][/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top