I’ve got an executable which runs with arguments which I need to run on multiple PCs.
This code obviously does not work but it shows the commands.
\$computer\C`$\temp\snetcfg.exe -v -c s -u MS_Server
\$computer\C`$\temp\snetcfg -v -l \$computer\C`$\windows\inf\netserv.inf -c s -i MS_Server
- should I copy the *.exe file into C:\temp and if so how would I run it from c:\temp on all the computers??
- can I run this *.exe with arguments from a remote file share??
Basically I need to run this in PS 2.0 but most of what I find for this is invoke-command which I believe is not in PS 2.0…
Thank you, Tom