Invoke-Command failed: WinRM cannot complete the operation
问题 Using 2 machines, a local and a remote (with an address marked as remoteAddress ), I'm trying to run this on the local machine: Invoke-Command -ComputerName remoteAddress -ScriptBlock { dir c:\ } but I get this error: [remoteAddress] Connecting to remote server remoteAddress failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the