title: Build up a string to be passed to call operator
body: <p>I need to build a string that is actually a command-line, and then execute the contents of that command-line. I'd hoped the call operator (&amp;) would help, but it appears not. Here is a simple contrived example. The following works as expected, it pings a website:</p>
  
  <pre><code>$command = "ping"
  $website = "www.bbc.co.uk"
  &amp; $command $website
  </code></pre>
  
  <p>however if I change it to this:</p>
  
  <pre><code>$command = "ping"
  $website = "www.bbc.co.uk"
  $cmd = "$command $website"
  &amp; $cmd
  </code></pre>
  
  <p>I get an error:</p>
  
  <blockquote>
    <p>The term 'ping www.bbc.co.uk' is not recognized as the name of a
    cmdlet, function, script file, or operable program.</p>
  </blockquote>
  
  <p>Is there a way to dynamically build up a command-line as a string, and then execute it?</p>