Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Windows Scripting > General Scripting
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

VBS script to execute script on remote location

VBS script to execute script on remote location

this thread has 3 replies and has been viewed 6750 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17th November 2008, 12:06
chance chance is offline
Casual
Casual
 
 Join Date: Aug 2007
  6 month star 12 month star
 Posts: 16
 Reputation: chance is on a distinguished road (11)
Default VBS script to execute script on remote location

Searched for answer and tried many things but couldn’t do it proper...

What I need is VBS script that will run another script on different computer in the network (to run it locally)?

To be more precise, I have vbs script that starts and shuts down hyper-v VMs, now what I want to be able to do it... is to run that script from remote computer in the network.

Any help would be awarded with many thanks.... and some Virtual Beer
  #2  
Old 17th November 2008, 12:08
gforceindustries's Avatar
gforceindustries gforceindustries is offline
Senior Member
Wrote the book
 
 Join Date: Sep 2008
  6 month star 12 month star
 Location: Leics, UK
 Posts: 4,342
 Reputation: gforceindustries is a jewel in the roughgforceindustries is a jewel in the roughgforceindustries is a jewel in the roughgforceindustries is a jewel in the rough (305)
Default Re: VBS script to execute script on remote location

Save yourself the hassle and use psexec.
__________________
Gareth Howells

BSc (Hons), MBCS, MCP, MCDST, ICCE

Any advice is given in good faith and without warranty.

Please give reputation points if somebody has helped you.

"For by now I could have stretched out my hand and struck you and your people with a plague that would have wiped you off the Earth." (Exodus 9:15) - I could kill you with my thumb.

"Everything that lives and moves will be food for you." (Genesis 9:3) - For every animal you don't eat, I'm going to eat three.
  #3  
Old 17th November 2008, 12:09
AndyJG247's Avatar
AndyJG247 AndyJG247 is offline
Senior Member
Wrote the book
 
 Join Date: Mar 2008
  6 month star 12 month star
 Location: London
 Posts: 3,842
 Reputation: AndyJG247 is a jewel in the roughAndyJG247 is a jewel in the roughAndyJG247 is a jewel in the roughAndyJG247 is a jewel in the rough (349)
Default Re: VBS script to execute script on remote location

It isn't a VBS but you could look at PSExec
http://technet.microsoft.com/en-us/s.../bb897553.aspx
__________________
cheers
Andy

Please read this before you post:
http://support.microsoft.com/kb/555375

Quis custodiet ipsos custodes?
  #4  
Old 17th November 2008, 12:20
chance chance is offline
Casual
Casual
 
 Join Date: Aug 2007
  6 month star 12 month star
 Posts: 16
 Reputation: chance is on a distinguished road (11)
Default Re: VBS script to execute script on remote location

just bumped onto it... and checking it now...
I will let you know the results... thanks folks (at least so far)
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
deploy script to remote PC without GPO or logon script damnlamb General Scripting 3 7th March 2007 19:30
VBS error when running vbs script in a web page neo3114 General Scripting 2 21st February 2007 23:37
VBS WMIC script halcoberry General Scripting 1 2nd November 2006 09:02
Why my logon Script did execute manash General Scripting 2 11th August 2006 11:28
VBS script problem slayer7 General Scripting 4 29th March 2006 21:48


All times are GMT +3. The time now is 16:51.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri