Run Script on remote machine

bcrisan
Tera Contributor

Hello,

    I need to run a VBScript which is located on a remote machine . The script should be executed on the users machine when he is submitting a form. Does anybody have any suggestion of how this is possible? The file containing the script is located on the machine in a known location and it only needs to be executed remotely.

    I read some documentation and saw that it might be used for this a MID Server, but I do not know exactly how.

2 REPLIES 2

mak1A4
Tera Guru

Do I understand this correctly?


You want to grab a VBScript from some server and want to execute this script on the users (client) machine?


I think due to security constraints this will not be possible, or at least not easy.



But if you just want to execute a script on server where you also have mid-server installed you could try it like this:


http://www.john-james-andersen.com/blog/service-now/powershell-probe-and-utility-for-servicenow.html


http://www.john-james-andersen.com/blog/service-now/command-line-execution-with-servicenow-mid-serve...


Dave Smith1
ServiceNow Employee
ServiceNow Employee

Bogdan Crisan wrote:



Hello,



I need to run a VBScript which is located on a remote machine . The script should be executed on the users machine when he is submitting a form.


That is highly dangerous, and any infrastructure team concerned about security would ban this immediately.



So, I suspect what you really mean is "I need some action being performed when a user submits a form"... but at present the only option explored is some VBScript.



What is it you're actually trying to achieve? It may be perfectly possible, but VBScript isn't possibly the best route to your destination.