System Object Array Powershell If Statement