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]
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]