title: Start-Process Not Enough Quota
body: <p>I am trying to do some performance testing, launching Azure-VMs, downloading lots of versions of our software onto them and pointing at our server. I have a problem when trying to start the software, I get this error consistently when I try and start the 16th instance of our software (Very lightweight, not a great deal of memory footprint). </p>
  
  <pre><code>This command cannot be run due to the error: Not enough quota is available to process this command.
      + CategoryInfo          : InvalidOperation: (:) [Start-Process], InvalidOperationException
      + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
  </code></pre>
  
  <p>I am remote powershelling in with Invoke-Command and attempting to start the processes with Start-Process. (Where $Session has been setup beforehand)</p>
  
  <pre><code>Invoke-Command -Session $Session -ScriptBlock {
  
  $currentNo = 0
  
  1..20 | ForEach-Object{
  
      Start-Process -FilePath "C:\Client\$currentNo\Client.exe"
      $currentNo = $currentNo + 1
  }
  }
  </code></pre>
  
  <p>This is definitely not to do with memory or disk space as I have tried this on an 8 core machine with 16 GB worth of memory. This works if I remote desktop in and run the exact same script through a remote desktop window.</p>