powershell add user to remote desktop group code example
Example: powershell add user to remote desktop group
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "UserName"
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "UserName"