I type stuff on them.
There is harmless pranks like pressing windows + e, then there is outright vandalism.
Uploading viruses and screwing with the settings on the network equipment is no different then spray painting something on the wall, or setting fire to trash cans.
Just a bit more passive-aggressive as it isn't easy for people to know what happened.