title: WinRM connectivity issue?
body: <p>I am trying to have a <code>Enter-PSSession</code> with a Company server with in the company network. I can RDC to the server, ping the server and also get the Windows Services status using <code>Get-Service -ComputerName DBServer</code>. However, WinRM session does not allow me to get into the server. </p>
  
  <p>My PC:</p>
  
  <ul>
  <li>Windows 10</li>
  <li>Powershell 5.0</li>
  <li>IP: 128.2.60.102</li>
  </ul>
  
  <p>Server:</p>
  
  <ul>
  <li>Windows Server 2012</li>
  <li>PowerShell 4.0</li>
  <li>IP: 10.1.130.1</li>
  </ul>
  
  <p>On DBServer:</p>
  
  <pre>
  PS C:\Windows\system32> <b>winrm e winrm/config/listerner</b>
  WSManFault
      Message
          ProviderFault
              WSManFault
                  Message = The WS-Management service cannot process the
                            request. The resource URI does not support the
                            Enumerate operation.
  
  Error number:  -2144108495 0x80338031
  The WS-Management service cannot process the request because the WS-
  Addressing Action URI in the request is not compatible with the resource.
  
  PS C:\Windows\system32> <b>winrm quickconfig</b>
  WinRM service is already running on this machine.
  WinRM is already set up for remote management on this computer.
  
  PS C:\Windows\system32> <b>winrm get winrm/config</b>
  Config
      MaxEnvelopeSizekb = 500
      MaxTimeoutms = 60000
      MaxBatchItems = 32000
      MaxProviderRequests = 4294967295
      Client
          NetworkDelayms = 5000
          URLPrefix = wsman
          AllowUnencrypted = false
          Auth
              Basic = true
              Digest = true
              Kerberos = true
              Negotiate = true
              Certificate = true
              CredSSP = false
          DefaultPorts
              HTTP = 5985
              HTTPS = 5986
          TrustedHosts
      Service
          RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
          MaxConcurrentOperations = 4294967295
          MaxConcurrentOperationsPerUser = 1500
          EnumerationTimeoutms = 240000
          MaxConnections = 300
          MaxPacketRetrievalTimeSeconds = 120
          AllowUnencrypted = false
          Auth
              Basic = false
              Kerberos = true
              Negotiate = true
              Certificate = false
              CredSSP = false
              CbtHardeningLevel = Relaxed
          DefaultPorts
              HTTP = 5985
              HTTPS = 5986
          IPv4Filter = *
          IPv6Filter = *
          EnableCompatibilityHttpListener = false
          EnableCompatibilityHttpsListener = false
          CertificateThumbprint
          AllowRemoteAccess = true
      Winrs
          AllowRemoteShellAccess = true
          IdleTimeout = 7200000
          MaxConcurrentUsers = 10
          MaxShellRunTime = 2147483647
          MaxProcessesPerShell = 25
          MaxMemoryPerShellMB = 1024
          MaxShellsPerUser = 30
  </pre>
  
  <p>On Client(My machine):</p>
  
  <pre>
  PS C:\windows\system32> <b>Test-WSMan -ComputerName "DBServer"</b>
  Test-WSMan : &lt;f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/
  1/wsmanfault" Code="2150859046" Machine="MyMachine"&gt;&lt;f:Message&gt;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. &lt;/f:Message&gt;&lt;/f:WSManFault&gt;
  At line:1 char:1
  + Test-WSMan -ComputerName "DBServer"
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : InvalidOperation: (DBServer:String) [Test-WSMan], InvalidOperationException
      + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.TestWSManCommand
  
  PS C:\windows\system32> <b>winrm e winrm/config/listener</b>
  Listener
      Address = *
      Transport = HTTP
      Port = 5985
      Hostname
      Enabled = true
      URLPrefix = wsman
      CertificateThumbprint
      ListeningOn = 127.0.0.1, 128.1.60.202, ::1
  
  PS C:\windows\system32> winrm quickconfig
  WinRM service is already running on this machine.
  WinRM is already set up for remote management on this computer.
  </pre>
  
  <p>Firewall ports for WinRM are open for both HTTP and HTTPS.</p>
  
  <p>Can anyone help with this issue?</p>