how to add a user to the admin group through 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>]