Powershell Loop Through String In Python Function Definition