Has anyone ever used/seen a script that will shut down a PC after a certain period of inactivity ie 1 hour irrespective of whether a user is logged on or not ?

Many thanks in advance.

Legacy Forum Name: Script to shutdown after a period of inactivity ?,
Legacy Posted By Username: nick.medwell