title: How do I maximize memory usage using powershell
body: <p>I am trying do some testing that requires resources to be under pressure. I was able to find out how maximize CPU Usage using PowerShell. </p>
  
  <pre><code>start-job -ScriptBlock{
  $result = 1; 
  foreach ($number in 1..2147483647) 
      {
          $result = $result * $number
      }
  }
  </code></pre>
  
  <p>Is there a way I can use PowerShell to do the same for maximizing memory usage?</p>