Sergeant Wilson said that on November 10 Evans went to the rear of a property in Masterton and took an off-road trail motorcycle, valued at $1100. The complainant saw the defendant trying to kick-start the machine and confronted him. Evans then tried to throw the bike at the complainant and ran off, before challenging him to a fight and punching him in the head.
Onlookers in a passing vehicle who witnessed the altercation then followed the defendant and reported him to police.
Defence lawyer Ian Hard described the first burglary as "silly" and said the second attempt was a "clumsy effort" which was fuelled by alcohol.
He admitted his client had a problem with alcohol, which he was keen to address, and asked Judge Susan Thomas to keep him in the community.
Mr Hard said Evans, who had been in custody since November, had a supportive partner who was present in court and he also had some possible employment opportunities with a local bakery and a butcher's.
Judge Thomas said Evans had 35 previous convictions and he had reoffended 31 times while on bail.
She said Evans had an "appalling criminal history".
"You are really reaching the end of the road which will enable you to stay in the community."
Judge Thomas sentenced Evans to six months' home detention, 200 hours' community work and directed him to pay $1057.69 reparation.
She warned Evans he would be sent to prison if he reoffended.