Scripting Question

easy way to add a local user account to a computer using a powershell command

10/17/2016 2334 views
I have to set a local account to 30 computer not going to be onthe domain.  I will have to create the same generic account to all of them. How can i easily run a powershell command to create the account?
0 Comments   [ + ] Show comments


All Answers

You tagged this with kace so I am assuming you want a k1000 script

Forget about power shell
$(KACE_SYS_DIR) - cmd.exe with parameters /c net user username password /add

to add to other groups besides user

$(KACE_SYS_DIR) - cmd.exe with parameters /c net localgroup Group username /add
Answered 10/17/2016 by: SMal.tmcc
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ