29 September 2014

Find duplicate elements in array


($array | Group-Object | Where-Object {$_.Count -gt 1}).Values