New
#1
How to use psshutdown.exe to create a batch file to shutdown my PC
I am trying to use psshutdown.exe to create a batch file to shutdown my PC. I want the equivalent of "Shut Down" from the start menu.
Should I use the switch -k or -s.
I do not understand the difference between these arguments and I want to make sure I have a controlled shutdown as opposed to what would happen if the power was cut off to the computer.
-k Poweroff the computer (reboot if poweroff is not supported)
-s Shutdown without poweroff