Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Get-Unique

Get-Unique - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Get-Unique

Short description
Returns unique items from a sorted list.

Syntax


Description
The Get-Unique cmdlet compares each item in a sorted list to the next item, eliminates duplicates, and returns only one
 instance of each item. The list must be sorted for the cmdlet to work properly.


Get-Unique is case-sensitive. As a result, strings that differ only in character casing are considered to be unique.