Re: Remote Execution of VBS script
- From: SayHi <SayHi@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Feb 2008 11:12:02 -0800
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.
- References:
- Re: Remote Execution of VBS script
- From: Pegasus \(MVP\)
- Re: Remote Execution of VBS script
- Prev by Date: Re: Remote Execution of VBS script
- Next by Date: Re: change computer passwords in an OU
- Previous by thread: Re: Remote Execution of VBS script
- Index(es):
Relevant Pages
|