One line that shuts a machine down immediately, ignoring applications that would otherwise block it. Kept as its own entry because it is the right tool for a lab host or an emergency, and because there is a managed reboot script for every case where you want the machine to come back.
powershell
# Force a host shutdown
#-----------------------------------
Stop-Computer -ForceRun it across your fleet
This script runs as-is on a single host. Paste it into ServerEngine to schedule it, run it on a whole server group in parallel, and keep the credentials out of the file — see the scripts documentation and the credential store.
More in System Administration
Generate a Random Password with PowerShell
2026-08-17Get the Public IP Address with PowerShell
2026-08-17Send a Wake-on-LAN Magic Packet with PowerShell
2026-08-17Download and Extract Files with BITS in PowerShell
2026-08-17Check Linux Uptime and Disk Usage over SSH
2026-08-17Automated System Information Gatherer Script
2025-01-14Ready when you are.
Try ServerEngine free for 7 days.