[PS] Management of the local accounts of Windows 7


Since I have to write in PoweShell a working script on Windows 7, I need to know certain information about local accounts:

1) How do I add an account of Users or Administrators types, having a password and his name inserted in field "full name"?

2) How do I add or remove an account from the Users or Administrators groups?

3) How do I make the user's password never expire?

4) How do I set a password to an account already created?

5) How do I move one account to the Administrators from the Users group and vice versa?

6) How do I rename an account?



0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
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