Continuing the thoughts about techniques for dealing with integer arrays – this is how to go about finding and removing duplicates from the array.
First – to find any duplicates use Group-Object
function get-duplicate {
[CmdletBinding()]
param … Read the full text.