Two confrontations that saw Victoria Police officers fire their weapons this week are a "very stark" reminder of the dangers of the job, the state's Police Minister says.

Key points: Police shot at in two separate incidents in one day

Police shot at in two separate incidents in one day "Huge impact" for officers who draw their weapons, Police Minister says

"Huge impact" for officers who draw their weapons, Police Minister says Two charged over incident at Keysborough, Melbourne

Police fired their weapons in two separate incidents in Melbourne on Wednesday.

Officers shot a 26-year-old man twice in the body after he allegedly pointed a gun at them during a traffic stop at Dandenong, in Melbourne's south-east, after 4:00pm.

The man was taken to Dandenong hospital in a critical condition and was operated on last night.

Earlier that morning, another officer fired a gun after a woman allegedly shot at police executing a search warrant for drugs at nearby Keysborough. No-one was injured.

Police have charged a 33-year-old woman with offences including attempted murder, and a 39-year-old man with drugs and weapons offences.

Both were due to appear in a Melbourne court on Thursday morning.

'The challenge a police officer faces every day'

Police Minister Lisa Neville said officers were often confronted by offenders with firearms and other weapons.

"It is a dangerous job and I know it has a huge impact on our police officers who have to draw their weapons," she said.

"This is the challenge a police officer faces everyday, particularly when they are dealing with some serious criminals.

Professional Standards Command will investigate both of Wednesday's incidents. ( ABC News )

"It also means we need to make sure our police officers are well supported and well trained so that they can deal with these situations, which they did yesterday in both of those cases."

Both incidents will be investigated by Victoria Police's Professional Standards Commands, Ms Neville said.

Ms Neville said another police officer who was seriously injured after an offender pinned him against a wall with a car had not yet returned to work.

"That officer is still with their family working their way through that," she said.