title: How do I get unique values from this array in PowerShell?
body: <p>Why is the code below returning <code>$null</code>? I'm trying to store just unique values. </p>
  
  <pre><code>$DailyPathsToDelete = @("C:\temp\IMG000483\","C:\temp\IMG000483\")
  $DailyPathsToDelete = Select-Object $DailyPathsToDelete -Unique 
  </code></pre>