add user to admin group using powershell code example
Example: how to add a group windows powershell
New-LocalGroup
[-Description <String>]
[-Name] <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
New-LocalGroup
[-Description <String>]
[-Name] <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]