title: How to pass array of arguments to Powershell commandline
body: <p>I am trying to pass array of arguments to powershell script file.</p>
  
  <p>I was trying to pass the commandline like this in command line.</p>
  
  <blockquote>
    <p>Powershell -file "InvokeBuildscript.ps1" "z:\"
    "Component1","component2"</p>
  </blockquote>
  
  <p>But it doesn't take the parameters it seems. What am i missing? how to pass array of arguments?</p>