PowerShell, 13 bytes
Stop-Computer
Pretty self-explanatory? Doesn't work on PowerShell core, so it won't work on PowerShell for Linux/MacOS (already tried it on TIO :-D ).
Bonus Garbage Submission, 12 bytes
gcm s*r|iex
In my testing, this works on Windows 2003 with PowerShell 2.0. It won't work on most of the newer versions, and it may not work depending on which modules are installed. It's quite terrible!
This searches the list of commands for any with the pattern s*r and then runs all of them! To be clear, this is dangerous, don't do this!
On my 2003 machine, the 3 commands it returns are:
CommandType Name Definition
----------- ---- ----------
Application scrnsave.scr C:\WINDOWS\system32\scrnsave.scr
Application ssmarque.scr C:\WINDOWS\system32\ssmarque.scr
Cmdlet Stop-Computer Stop-Computer [[-ComputerName] <String[]>] [[-Cr...
Yes, it does launch the marquee screensaver, but no, it does not wait for it to complete before launching Stop-Computer.
This approach can work on newer machines, again depending on which modules are installed, but the best I could do on Windows 2012 and 2016 was 14 bytes:
gcm sto*er|iex
(and yeah, sure, the winbatch submission will work in PowerShell and it's shorter, but.. that's no fun)
`whatever`;Bash/Perl/PHP/Ruby/etc. stupiglots. – manatwork 16 hours ago