Powershell Loop Array Of Objects In C