Please don't do this. You're not going to hit a drone at any appreciable altitude from a "high window" with a "nice rifle." One of the first rules of putting bullets downrange is to know what's behind your target, and you simply can't know that when you're shooting into the air.
See also: https://en.wikipedia.org/wiki/Celebratory_gunfire#Injuries