Create Custom Object Array Powershell If Statement