title: passing parameters from command line to powershell
body: <p>When I run the following command in command line</p>
  
  <pre><code>powershell.exe "Import-Module ActiveDirectory;New-ADUser -name "rr" 
  -path "OU=Test,DC=Example,DC=com"
  </code></pre>
  
  <p>I get the error below:</p>
  
  <pre><code>New-ADUser : Cannot convert 'System.Object[]' to the type 'System.String' required by parameter 'Path'. Specified method is not supported.
  At line:1 char:56
  + Import-Module ActiveDirectory;New-ADUser -name rr -path &lt;&lt;&lt;&lt;  OU=Test,DC=Example,DC=com
      + CategoryInfo          : InvalidArgument: (:) [New-ADUser], ParameterBindingException
      + FullyQualifiedErrorId : CannotConvertArgument,Microsoft.ActiveDirectory.Management.Commands.NewADUser
  </code></pre>