Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Upgrade that CLI to:

  shutdown /s /f /t 0
or in PowerShell:

  Stop-Computer -Force


Thank you.

For myself, I prefer not to force application closures. If something's stuck, I'd rather look into it and avoid potential data loss. I'm seldom in that much of a hurry, these days (but I understand others can be).

For anyone who's curious:

shutdown:

https://learn.microsoft.com/en-us/windows-server/administrat...

Stop-Computer:

https://learn.microsoft.com/en-us/powershell/module/microsof...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: