Powershell Script Loop Through Array Of Objects Definition