Powershell Function Returns Array Methods