Powershell Return Array From Function Chart