title: Powershell invoke-command access is denied error - not a double hop
body: <p>I am building a new network with Server 2016 and a handful of Windows 10 clients. I have run Enable-PSRemoting successfully on all the clients.  From the server I run:</p>
  
  <pre><code>Invoke-Command -ComputerName $computer -Scriptblock {'test'}
  </code></pre>
  
  <p>which results in 
  [computer] Connecting to remote server  failed with the following error message : Access is denied.
  + CategoryInfo: OpenError: (computer:string) [], PSRemotingTransportException
  + FullyQualifiedErrorId: AccessDenied,PSSessionStateBroken</p>
  
  <p>Because I am only having the remote computer process a string I believe this is not related to the common double hop issue I see in the forums.  </p>
  
  <p>I can also run WinRM successfully on the client machines:</p>
  
  <pre><code>Test-WSMan $computer
  </code></pre>
  
  <p>If anyone has insight into other causes of the access denied error I would greatly appreciate some ideas on where to look.</p>
  
  <p>Thanks.</p>