Powershell Get Distinct Values From Array Python Practice