The Windows Remote Shell cannot process the request. The resource URI is not valid or the service cannot find the resource ...

The Windows Remote Shell cannot process the request. The resource URI is not valid or the service cannot find the resource identified by the resource URI and selectors. The wsman:ResourceURI value should be %1 or be defined in the CustomRemoteShell table.  Check the documentation or use the following command for information on how to populate CustomRemoteShell table: "winrm help customremoteshell". The selectors are relative to the resource URI. Retry the request with the correct resource URI or selectors.