Re: Remote Execution of VBS script

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Pegasus (MVP)
Tahnks for the commnent.

Yes, using schtasks.exe is the simplest way. I already did that as mentioned
as Classical Way. If I cannot find a better way, then schtasks.exe will be
the only way to go.

SayHi

"Pegasus (MVP)" wrote:


"SayHi" <SayHi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:EE26F3FF-C6B6-4BD9-A396-86DD91E7DD40@xxxxxxxxxxxxxxxx
Good Morning Script Expets.

I found a VBS script by Mark D. MacLachlan , The Spider's Parlor , which
can
backup all windows event viewer logs (eventlogs, for short). My network
has
about 100 W2K servers. I put Mark's script in one single location (say
server A) and it is able to save (or backup) all eventlogs to a single
destination (say server B) using the classical way (see below).

The classical way is to schedule a task on each of the 100 servers to use
Mark's script from server A, run the script on itself, and save event log
to
server B. This way works perfectly. But it is too much work because I
have
to set up a task on each of the 100 servers.

I want to find or write a script or batch file such that it can tell each
of
the 100 servers to get Mark's script from server A, run it, and save its
results to server B.

I have tried PSEXEC (writen by Mark Rssinovich) without success. I run
PSEXEC with admin's FC permission on the remote server, NTFS, and share.

I would appreciate if any of you could help me out.

Thank a million and have a good day.

Poor SayHi

A simpler and more robust solution would be to use schtasks.exe
to schedule your task on each of your 100 servers. It has a switch
that lets you specify the machine on which the job should run.



.



Relevant Pages

  • Re: Re: Two-way MySQL <--> FM9 connection Options, part II
    ... limitations imposed by server schedules. ... web incompatible, but server schedule incompatible. ... SQL script steps. ... Configure Windows Scheduled Tasks to run import.bat whenever you ...
    (comp.databases.filemaker)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script Runs perfectly fine from the command prompt. ... # This is the main Apache HTTP server configuration file. ... LoadModule actions_module modules/mod_actions.so ...
    (perl.beginners)
  • Same Internal Server Error from last two days
    ... I am trying to run a Hello World Perl Script in Apache 2.2. ... But its constantly giving me Internal Server Error.The script ... # have to place corresponding `LoadModule' lines at this location so the ...
    (perl.beginners)
  • Re: Regarding a selection for mobile code/scripting language
    ... Client Side scripting, so the server can send script commands to the client. ... I decided they should be scripted and mobile code. ...
    (Vuln-Dev)