Advertisement

05.04.2008 at 10:06PM PDT, ID: 23375712
[x]
Attachment Details

Run vbs scripts remotely

Asked by gladmins in Visual Basic Programming, Programming Languages, VB Script

Tags: VB Scipt

Hi EE,

I would like to run script's on remote computers on our LAN but all my script is doing is calling the file.. Can anyone help?Start Free Trial
1:
2:
3:
4:
5:
6:
7:
'========================== 
'Remote.vbs 
'========================== 
 
set WSHShell = Wscript.CreateObject("Wscript.Shell")
Wscript.Echo "Remote"
WSHshell.run "\\ComputerName\c$\defrag.vbs"
[+][-]05.04.2008 at 10:12PM PDT, ID: 21498211

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.04.2008 at 10:15PM PDT, ID: 21498217

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.04.2008 at 10:22PM PDT, ID: 21498243

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.04.2008 at 10:39PM PDT, ID: 21498289

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.04.2008 at 10:49PM PDT, ID: 21498316

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Visual Basic Programming, Programming Languages, VB Script
Tags: VB Scipt
Sign Up Now!
Solution Provided By: sirbounty
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.04.2008 at 11:02PM PDT, ID: 21498346

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628