He said the house had regular squatters, which caused problems for him.
He pleaded guilty at an earlier appearance to discharging a firearm near a dwelling.
Judge Crayton said Shand had a history of criminal offending between 1989-92, but did not appear before the court for 17 years after that. There was another period of offending, then Shand did not offend for seven years.
"It is therefore with some sadness that the court has to deal with him again today."
He encouraged Shand to let "the boys in blue" deal with his issues in the future.
"You can't go around loosing off an air rifle even if you lose your temper and even if the people . . . are making your life difficult."
Judge Crayton said the person living at the house "doesn't appear to be an official occupant, the home being somewhat derelict".
Shand said the house was now under new ownership and he had offered to help the owner with renovations.
Judge Crayton sentenced him to 120 hours of community work.