All Forums >> [Scripting] >> WSH & Client Side VBScript >> Problem with run script remotley on another workstation Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Hello, I have problem with run by one script another on other station doing this remotley. For example I run "start.vbs" no my workstation and this script should run "something.vbs" on anoter workstation. My scripts look like that (these are only examlpes) start.vbs Set WShell = CreateObject("WScript.Shell") strComputer = "" ' here is station name where something.vbs should be runned WShell.Run "\\" & strComputer & "\c$\something.vbs"
something.vbs Set WShell = CreateObject("WScript.Shell") WShell.Popup "hello"
I would like to add that I run "start.vbs" like an admin in domain.