title: Getting Remote Process Information with Powershell (w/o remoting)
body: <p>We have a bunch of PC that are not part of the domain (and cannot be added). They do not have PS installed and we'd prefer not to have to install it.</p>
  
  <p>I want to use Powershell from a server to get the memory usage of 2 process every hour. Unfortunately get-process doesn't seem to support a -credential parameter. I did get win32_process (as shown below), but it returns a ton of info (no idea how I'd just get VMsize for two processes).</p>
  
  <pre><code>$Pass = ConvertTo-SecureString -string "SECRET" -AsPlainText –Force
  $User = "USER"
  $Cred = New-Object –TypeName System.Management.Automation.PSCredential –ArgumentList $User, $Pass 
  
  
  gwmi win32_process -computername PCName -Credential  $Cred
  </code></pre>
  
  <p>Is there a way to do this without installing PS or putting PC's in domain?</p>