WinRM ne peut pas terminer l'opération. Vérifiez que le nom de l'ordinateur spécifié est valide

Lorsque j'essaie de récupérer les informations de service sur l'ordinateur distant, j'ai eu une erreur WINRM.

 PS C:\Windows\system32> invoke-command -computername Node1 -ScriptBlock {gsv}
 [Node1] Connecting to remote server Node1 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 WinRM service is enabled and allows access from this computer. By 
 default, the WinRM firewall exception for public profiles limits access to remote computers
 within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo          : OpenError: (Node1:String) [], PSRemotingTransportException
+ FullyQualifiedErrorId : WinRMOperationTimeout,PSSessionStateBroken
  • Avez-vous permettre à windows d'accès distant sur l'ordinateur de destination (Enable-PSRemoting ou winrm quickconfig)