title: Differences between Invoke-Expression and Invoke-Expression -Command
body: <p>Can someone explain the differences between <code>Invoke-Expression $test</code> and <code>Invoke-Expression -Command $test</code>?</p>
  
  <p>variable test is:</p>
  
  <pre><code> $test = "notepad.exe myfile.txt"
  </code></pre>