I ran an electric fence wire 6' off the ground all the way around my pens. Works great! You can hear em howl all the way in the house. This works for any thing that may take a like'n to your birds.
One warning though- don't let your bird dogs get shocked. I only run my fence when the dogs are kenneled up.