"Hopefully that's going to provide them (police) with some assistance in terms of tracking down the offender," she said.
Dreaver said the school was kept open on the advice of police but parents had been kept informed since 7am and students were being offered support.
"It was established that the offender left the scene," she said.
"We consider it to be a really unfortunate, random incident."
Detective Inspector Tony Geary urged members of the public to be vigilant as it was believed the attacker, who fled on foot, may have boarded a commuter train.
"It's certainly likely that the offender has blood on them and it's quite possible that the offender is still armed," he told reporters at the scene.
Initial reports suggest the guard was nearing the end of his shift when he noticed someone trying to break into the school's performing arts complex. The intruder rushed at him and started stabbing when he was challenged.
Dreaver said the guard was a much-loved man. "The school's rallying behind him and his family as we do in the Somerville way," she said.
Somerville House was established in 1899 and is a day and boarding school for girls from prep to year 12, meaning students were on site when the attack occurred. It is also a co-educational school for pre-prep girls and boys.
- AAP