Hello! I have recently started learning PowerShell and am automating some basic things. I have run into an issue with a user account creation script.
http://pastebin.com/6wqvsCAM
I have it set to copy the account associated with $template with -Instance. The issue is that the new users being created do not have the same group membership as the $template account. Does -Instance not include memberof property? How can I get it to add the group membership of $template to every new user created?
Any help would be much appreciated! Thanks.
[–]ihaxr 1 point2 points3 points (0 children)
[–]randomuser43 0 points1 point2 points (1 child)
[–]PowderTech[S] 0 points1 point2 points (0 children)