Create Custom Objects Powershell If Statement