Array Of Objects Powershell Script If Statement