Enable PowerShell Remoting
Certain agents require that the PowerShell remoting is enabled. This allows PowerShell commands to be executed on the remote machines where this command is executed.
- Start PowerShell as an Administrator
- Run the Enable-PSRemoting cmdlet
- You may be prompted to confirm the change to the machine.