How do I - Remove duplicates from a Powershell array?
When it becomes necessary to remove duplicates from a Powershell array variable, it can quickly be achieved via the -unique switch. You can even sort at the same time like this:
Enjoy
C
Enjoy
C