This is about the stupidest thing I've ever heard of. IT, like other professions, has a set of ethics. They may be unspoken, they may be unwritten, but they're there.
If my boss came to me to ask to do this sort of thing, I'd tell them "NO", and would document everything to back myself up. The school officials who ordered and conducted the spying were way out of line. And any IT personnel involved were equally out of line.
The story of the school district that supposedly spied on some students keeps getting odder and odder. While the school district claims that it used the secret remote webcam activation technology 42 times -- and only to track down stolen or lost laptops -- it still hasn't explained why this particular student was punished. He claims his laptop was not stolen and there was no reason to turn it on. The school claims that the assistant principal who supposedly confronted the student with an image from the webcam is being unfairly tarnished.
But here's where it gets even odder. Apparently, the "improper act" that the student was disciplined for was an accusation of either drug use or drug selling. For what? Well, the image showed the student with Mike & Ikes candies, which do have a passing resemblance to pills, but (last we checked) do not appear to be controlled substances.
Now, there certainly could be more to this story, but the school has not done a particularly good job explaining its side of things.