Eliminate pigeons using ultrasonic devices

Can you eliminate pigeons using ultrasonic devices?