This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$array = @("a", "b", "c", "b", "d", "a"); #Setup the array. | |
$array = $array | sort -unique; #Sort the array while using only unique values. |
Enjoy
C
No comments:
Post a Comment
Comments are moderated only for the purpose of keeping pesky spammers at bay.