I wrote a PowerShell script that calls a C# exe file that works no problem on my machine and a couple other machines on our network, but for some reason it won't run on the computer it needs to. This is the error I get when I try and run it. Any ideas on what could be causing this?
Start-Process : This command cannot be executed due to the error: %1 is not a valid Win32 application.
It will run no problem on a couple other machines on the same network no problem, just not on this particular one. Any input would be helpful, thank you!
AnyCPUas the target (or compile it as 32-bit, which will work on both 32 and 64 bit versions of the OS).