RSS

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

Post a Comment

Comments are moderated only for the purpose of keeping pesky spammers at bay.