title: Pass multiple values to an argument
body: <p>I would like to pass string to variable <code>$FileExtension</code>, if I pass a single value such as <code>$FileExtension = "*.txt"</code> then it working fine, but if <em>multiple</em> values such as <code>$FileExtension = "*.txt,*.log"</code> then it failed.</p>
  
  <p>How to solve this problem ?</p>
  
  <pre><code>Get-ChildItem *.* -Include $FileExtension | Select-String -pattern "$SearchString" | group path | 
  select name | Out-File $OutputLocation'\'$OutputFile
  </code></pre>