Introduction:
Power management can be done manually or through an OS’s command line interface (CLI). Power operations can include starting, shutting down, or restarting a system.
Requirements:
The command line interface on either a Windows or Linux system.
Procedure:
Windows
- From the Windows CLI (cmd.exe or Command Prompt), type one of the following:
shutdown /s /*shut down*/ shutdown /r /*restart*/ shutdown /f /r /*forceful restart*/ shutdown /f /s /*forceful shutdown*/
Linux
- Type one of the following:
poweroff /*shut down*/ reboot /*restart*/ halt /*forceful shut down*/ reboot -f /*forceful restart*/
More Information:
- In Windows, type:
shutdown /?
- In Linux, type:
man halt