Scripting Blog

A place to learn about PowerShell and share stories of automation

Adding Local Users to Local Groups

Summary: Learn how to use Windows PowerShell to add local users to local groups.Microsoft Scripting Guy, Ed Wilson, is here. Creating local user objects and local group objects is fine, but to be useful, I need to be able to add users to groups. When working with local accounts, I need to use the ADSI type accelerator to facilitate the way ...