title: Issue with passing parameters to net user command in powershell
body: <p>I need to pass in PowerShell the list of local users: </p>
  
  <pre><code>users$=@(Get-WmiObject -Class Win32_UserAccount -Filter  "LocalAccount='True'" 
  | select-object -property name 
  | ft -hidetableheaders)
  </code></pre>
  
  <p>to the command <code>foreach ($i in $users){net user $i)</code></p>
  
  <p>But it does not work, although it should.</p>
  
  <p>As I can see the length of array is $users.length 1 item for my case.</p>
  
  <pre><code>PS C:\&gt; $users.length
  1
  </code></pre>
  
  <p>Although in <code>echo $users</code>, the list contains only 3 items as I can see see it visually: 1, Administrator, Guest.</p>