Powershell Iterate Through Array Of Objects In C