calling remote script

inter

Freshman
Joined
Jul 22, 2005
Messages
36
Anyone has an idea on how to call a remote vbscript from vb.net or C# ?
the remote script is on a windows 2003 server.
I was trying to do this with vbscript:

Set wshController = CreateObject("WshController")
Set wshRemote = wshController.CreateScript("C:\TestRemoteMailbox\mailbox.vbs " & userAlias, strComputer)

unfortunately this doesn't seem to work...I have tried a lot of things...
wsh is standard installed on windows 2003 and a registry entry should exist named "remote" and it's value should be 1. there are no problems with the firewall.

So... Can I make it so that I can run a vbscript on a remote computer? calling it from vb.net or C# ?

thanks,
 
Back
Top