Apr 07 2020 02:05 PM
When I try to run PSShutdown I get the following: What am I doing wrong? This is two line batch file.
Apr 11 2020 10:12 AM
SolutionYou 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.
Apr 11 2020 10:12 AM
SolutionYou 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.