Category filter
Scripts to add users to a group on Windows 10 devices
User Management on Windows 10 devices becomes easier when the users are grouped. Hexnode lets admins deploy scripts to group users on multiple devices simultaneously.
Batch Script
1 |
net localgroup group_name UserLoginName /add |
E.g., To add the user Josh to the group of Users,
net localgroup Users Josh /add
Powershell Script
1 |
Add-LocalGroupMember –Group “group_name” -Member “name_of_the_user” |
E.g., To add the user Josh to the group of Users,
Add-LocalGroupMember –Group “Users” -Member “Josh”
Need more help?