I'm attempting to remote shutdown a computer via PSTools, but so far I am only able to get the command to work via command console. A batch file is preferable, because it can be hotkeyed to a keyboard shortcut.
The syntax here has been unclear and I have used information in other threads to point me in the right direction. Most times, the script does nothing, but :
actually shutdown the computer I'm trying to launch the command from
Any help is appreciated.
The syntax here has been unclear and I have used information in other threads to point me in the right direction. Most times, the script does nothing, but :
Code:
@echo off
start C:\PROGRAM_BIN\PSTools\psshutdown.exe /psshutdown \\REMOTECOMPUTERNAME -k -f -t 00
exit
actually shutdown the computer I'm trying to launch the command from
Any help is appreciated.
My Computer
- Computer type
- Laptop
- Computer Manufacturer/Model Number
- Dell
- OS
- Windows 7 Ultimate 64bit
- CPU
- 2.8GHz
- Memory
- 6GB