Powershell Pass Array Of Objects To Function