This script shuts down or restarts your computer
None
Steps on how to run the script along with suitable examples.
-
Type the following on the command line: python PowerOptions.py
-
Press enter and wait for prompt. Type “r” to restart or “s” to shut down
Example: python PowerOptions.py Use 'r' for restart and 's' for shutdown: r
python PowerOptions.py Use 'r' for restart and 's' for shutdown: r