Introduced in Windows 2000 as a way to shutdown the PC via the command prompt.
Included in all versions since Windows 2000 all the way to Windows 10 and Windows Server 2019.
ReactOS, the open source binary-compatible clone of Windows, also includes the shutdown.exe command and the commands are the same.
Located in %windir%\System32. The variable %windir% is usually c:\windows. In ReactOS, the variable is usually c:\reactos (failed to mention this in the recording).
Thanks for the insight. There's a scheduled power outage at work next month, and with this I can make sure everybody's workstation is shut down properly without running around and looking at power lights.
Comment #2 posted on 2019-04-06 14:12:22 by ClaudioM
Also Useful with PsExec from Sysinternals Suite
Glad you found it useful. While you can use it alone, it's also useful with tools like PsExec from the Sysinternals suite. I might do an episode about that particular command as well. That suite has so many tools but PsExec is the one I use the most.
https://docs.microsoft.com/en-us/sysinternals/
You could probably create a batch file or Powershell script to go through a list of hostnames and have them reboot/shutdown remotely.
Leave Comment
Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.
Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).