An abusive monkey dust user left a police officer fearing for her safety as he circled her while wielding a beer can.
Edward Hogan was among a group approached by the PCSO outside a Hanley hostel.
The 33-year-old then became abusive and shouted at the PCSO before walking around her in a circle.
She retreated to her car and called for back-up.
As the victim drove away, Hogan hurled the beer can at the vehicle.
Another officer arrived and arrested the defendant who was caught with a kitchen knife.
Now Hogan has been sentenced to six months in prison, suspended for 18 months, at Stoke-on-Trent Crown Court.
Prosecutor Tariq Shakoor said a PCSO was at a hostel in Hanover Street, Hanley, at 6.30pm on September 23 when she saw a group of about eight people sat on the floor.
Mr Shakoor said: “One was the defendant who got to his feet and said, ‘You what?’. He approached the officer with a beer can in his hand. He was shouting aggressively and the officer believed the situation was going to escalate.
“She felt intimidated. The defendant began to walk around the officer in a circle. She was about a metre away from him. She believed she might be assaulted. She got back in her vehicle and drove away. The defendant threw his beer can towards the vehicle.
“The PCSO requested assistance.
“An officer arrived and detained the defendant. A kitchen knife was recovered from his front pocket and it had a blade of about three inches in length.”
The PCSO was left feeling shocked and upset when she learned the defendant had a knife.
Hogan, of St Martins Road, Talke Pits, pleaded guilty to having a knife in public and using threatening, abusive or insulting words or behaviour.
Martin Bloor, mitigating, said the defendant is ashamed by his actions. He said: “He can remember very little about the incident because he consumed monkey dust before it took place.
“He has had a problem with substance misuse – alcohol and cocaine, and he has fluttered with the use of monkey dust.”
Mr Bloor said the defendant kept out of trouble for eight years and is a skilled groundworker. He added: “He wants to work with the probation service.”
As part of the suspended sentence Hogan must complete a rehabilitation activity requirement for 30 days and 100 hours unpaid work.
Judge Paul Glenn said: “Possession of a knife in the state that you were in is a matter of concern to me because in that sort of state the likelihood of using that sort of item is increased.
“Carrying knives is a matter of significant public concern because so often the knives end up being used, sometimes with catastrophic consequences.
“The knife was not produced or brandished or used to threaten anyone. I am prepared to take a chance in your case.”
Hogan was ordered to pay £200 costs.