Powershell Function Returns Array In Python For Loop