Summary: Easily get unique numbers from a list by using Windows PowerShell.
How can I use Windows PowerShell to get unique numbers from a list of numbers?
Use the Get-Unique cmdlet, for example:
PS C:\> 1,2,2,3,4,4,5 | Get-Unique
1
2
3
4
5
The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.
0 comments