Re: Remote Execution of VBS script
- From: "Pegasus \(MVP\)" <I.can@xxxxxxxxxx>
- Date: Wed, 20 Feb 2008 18:35:57 +0100
"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.
.
- Follow-Ups:
- Re: Remote Execution of VBS script
- From: SayHi
- Re: Remote Execution of VBS script
- Prev by Date: Re: Can a large user profile prevent logon / logoff scripts from runni
- Next by Date: Re: Remote Execution of VBS script
- Previous by thread: Re: Can a large user profile prevent logon / logoff scripts from runni
- Next by thread: Re: Remote Execution of VBS script
- Index(es):
Relevant Pages
|