Afternoon, i have had a look at converting a script i use to remove software from a pc to a vbs script so i can run the script against a txt file of computers rather than entering them one at a time.
Bat Job is nice and simple, it gets the machine name and passes it to the psexec to run the uninstall on the pc.
PSExec is located in the system32 folder so runs without having to specify the path.
Trying to do the same in VBS is more difficult than i imagined
can anyone see any problems with the code?
Script starts by using: cscript "RemoveSoftware.vbs" lrq.txt >>results.txt