Powershell Foreach Loop Through Array In Python Definition Function