Powershell Function Returns Object Array C