Powershell Function Returns Array Methods In Python