$unique = $arr | Group-Object | ForEach-Object $_.Name
: Displays information about PowerShell concepts and commands. It is the go-to for syntax and examples. powershell 3 cmdlets hackerrank solution
$top3 = $filtered | Sort-Object Salary -Descending | Select-Object -First 3 $unique = $arr | Group-Object | ForEach-Object $_
Where-Object $_ -match 'timeout'