Forum Discussion
WWolfe-001
Apr 07, 2020Copper Contributor
Running PSShutdown
When I try to run PSShutdown I get the following: What am I doing wrong? This is two line batch file.
- Apr 11, 2020
You probably don't have the exe file in the same directory as the batch file.
Try using absolute path (e. g. C:\PSTools\psshutdown.exe or \\someserver\PSTools\psshutdown.exe) when you call it.
alex47
Apr 11, 2020Copper Contributor
You probably don't have the exe file in the same directory as the batch file.
Try using absolute path (e. g. C:\PSTools\psshutdown.exe or \\someserver\PSTools\psshutdown.exe) when you call it.