SOLVED

Running PSShutdown

Copper Contributor

When I try to run PSShutdown I get the following:  What am I doing wrong?  This is two line batch file.

Capture.JPG

1 Reply
best response confirmed by WWolfe-001 (Copper Contributor)
Solution

@WWolfe-001

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.

 psshutdown scrshot.png

1 best response

Accepted Solutions
best response confirmed by WWolfe-001 (Copper Contributor)
Solution

@WWolfe-001

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.

 psshutdown scrshot.png

View solution in original post