title: PowerShell: Is there an automatic variable for the last execution result?
body: <p>I'm looking for a feature comparable to Python interactive shell's "_" variable. In PowerShell I want something like this:</p>
  
  <pre><code>&gt; Get-Something # this returns an object and display it to the output.
  # Now I want to assign that object to some variable
  &gt; $anObj = ???
  </code></pre>