You friend's boyfriend sure sounds like a fool. That script would have completely wiped the hard drive so it is blank. No Windows, no data, no nothing. Also it wiped the CMOS chip on the motherboard so now the computer won't even turn on.
We don't know what make and model the computer is, so we can't even begin to tell you what to do.
Just a thought... tell your friend to hold down the DELETE key as she turns on the power, and if that does nothing, try the INSERT key. May need to try several times.
Tell her to get a new boyfriend that respects her property as well. Or to come to you instead for advice since you sound more sensible.