title: PowerShell: How can I to force to get a result as an Array instead of Object
body: <pre><code>$result = Get-ADUser -Filter $filter
  </code></pre>
  
  <p>If I have 2 or more results, I get $x as array, but if I have only one result, a get $x as object. How to make it more correct, to always recieve array - empty, with one element or with some elements?</p>