Create Array Of Objects Powershell If Statement