title: Windows PowerShell authentication
body: <p>I am running PowerShell 1.0 under Windows XP, attempting to connect to machines running XP, Vista, and Server 2003 with the following command:</p>
  
  <pre><code>gwmi -cl Win32_OperatingSystem -co COMPUTER -n "root\CIMV2" -cr DOMAIN\ADMIN
  </code></pre>
  
  <p>This returns an error. "Exception retrieving members: Access is denied.".</p>
  
  <pre><code>gwmi -cl Win32_OperatingSystem -co COMPUTER -cr DOMAIN\ADMIN
  </code></pre>
  
  <p>This works.</p>
  
  <p>Firewall and DCOM services are configured properly, otherwise neither command would not run.</p>
  
  <p>I have tried the first command with credentials set to COMPUTER's local administrator, same error.</p>
  
  <p>I can run the first command against localhost, no error.</p>
  
  <pre><code>$q = "Select * from Win32_OperatingSystem"
  $y = [WmiSearcher] $q
  $y.Scope.Path = "\\COMPUTER\root\cimv2"
  $y.Scope.Options.Authentication = 6
  $os = $y.Get()
  </code></pre>
  
  <p>also fails. The administrator group on COMPUTER has the appropriate permissions according to <a href="http://msdn.microsoft.com/en-us/library/aa393266%28VS.85%29.aspx" rel="nofollow noreferrer">this</a> Microsoft KB article.</p>
  
  <p>We recently rolled out a WSUS server, pushing out a ton of miscellaneous Windows Updates to our systems. Are any updates known to break WMI like this?</p>