WinRM is required by some monitoring plug-ins.
This guide will help you to install and configure WinRM for remote access.
If WinRM is installed and running, the response will be similar to this:
If this is not the case, you may need to install Windows Management Framework 4.0 package.
In order to connect remotely, it is necessary to be part of the Administrators group (or Remote Management Users for Windows 2012 and above) either by being directly connected with the correct account (for example via a domain administrator user) or by using authenticating as an administrator via the Credential parameter.
On Windows 2012 and later, it is necessary to add a registry key on the remote computer so that the Administrators and Remote Management Users groups have the right to connect via Remote Powershell:
On the host : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system
You must add the key DWord : LocalAccountTokenFilterPolicy with the value 1.
|In order to connect via WinRM to the target machine, the user must be part of the “Local Administrator” group of the target machine..|