PowerShell is available for Linux, allowing you to run cross-platform commands and scripts with object-oriented features.
This guide shows how to shut down Windows using shutdown.exe and PowerShell, including options for timers, restarts, hibernation, shortcuts, and remote control.