Before you do any of this, you must run the following command in an admin PowerShell command prompt on the machine where you would like to run the remote command:
winrm quickconfig
need to open up the client connection permissions.
You may not want to open it up to anywhere though.
Something like this should also work:
C:\Windows\System32>winrm set winrm/config/client @{TrustedHosts="Server811"}
No comments:
Post a Comment