It's needed to control from a Mac (turn off, install software, etc.), all another Macs connected to the same network (in the same classroom). Is there a software for it?
Apple Remote Desktop http://www.apple.com/remotedesktop/ might be what you are looking for.