From aaedbfef0b54a44c1a2671571a3b91e3c1cbbb3e Mon Sep 17 00:00:00 2001 From: Owen Voke Date: Tue, 16 Oct 2018 18:31:49 +0100 Subject: [PATCH] shutdown: add page (#2449) --- pages/windows/shutdown.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 pages/windows/shutdown.md diff --git a/pages/windows/shutdown.md b/pages/windows/shutdown.md new file mode 100644 index 0000000000..d87cc01fd5 --- /dev/null +++ b/pages/windows/shutdown.md @@ -0,0 +1,35 @@ +# shutdown + +> A tool for shutting down, restarting or logging off a machine. + +- Shutdown the current machine: + +`shutdown /s` + +- Restart the current machine: + +`shutdown /r` + +- Hibernate the current machine: + +`shutdown /h` + +- Log off the current machine: + +`shutdown /l` + +- Specify a timeout in seconds to wait before shutting down: + +`shutdown /s /t {{seconds}}` + +- Specify a comment for the shutdown reason: + +`shutdown /s /c "{{reason}}"` + +- Abort a shutdown sequence whose timeout is yet to expire: + +`shutdown /a` + +- Shutdown a remote machine: + +`shutdown /m {{\\hostname}}`