get-localgroup
get-localgroupmember
new-localgroup – name name
add-localgroupmember -name name -member ” “
Note that the user won’t be granted access to the additional group
until the next time they successfully authenticate; that is, the group won’t be automatically added
to existing tokens for that user.
get-ntsid -name name
Remove-LocalGroup -Name $name