Powershell Loop Through Array And String In Cpp