Powershell Loop Through Array And String Manipulations