Powershell Loop Through Array And String In C