Powershell Function Returns Object Array Iterator