Is there a way I can grant a user the ability to use Invoke-Command in PowerShell remotely without giving them RDP Access to the server?
1 Answer
According to Microsoft TechNet, you don't want to add the user to the Remote Management Users group. You want to add the user to the WinRMRemoteWMIUsers_ Group. WinRMRemoteWMIUsers_ Group will give the user the ability to run remote PowerShell commands. Remote Management Users Group is for managing the server using Server Manager.
-
It seems like that did not help. I got "access denied" when using only this group.– JustAGuyJun 22, 2016 at 7:08