Skip to main content

All Questions

0 votes
0 answers
344 views

PSExec -c flag does not work with powershell scripts

I'm using PSExec 2.4 to run commands on multiple computers. If I want to run a local batch script on the target computer (named {machine} below), this works no problem: psexec -i \\{machine} -nobanner ...
EllipticalInitial's user avatar