Technical Q&A: Programmatically causing restart, shutdown and/or logout

QA1134: Describes how to programmatically cause restart, shutdown, sleep or logout.

More...