Powershell Loop Through Array And Its Operations