Title: Message
Pstools is the right  ticket....I am lovin this :-)..... Just the right complement for a tool like SA   thanks for the help !
 
John
-----Original Message-----
From: Stuart Brereton [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 14, 2002 5:10 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [SA-list] Command execs

I can vouch for the PSTools.  It is extreemly versatile, robust and very powerful.  As Davis said, you MUST test the applications first, we had a few problems but were soon ironed out.  I would also advise getting all of the utils that your going to use one 1 box first, before moving on to your other servers
 

Stuart Brereton

ntl: Business Managed Network Services
Customer Networks Operations Centre (CNOC)

Network Technician / Network Specialist
E-mail: - [EMAIL PROTECTED]
Office: - +44 (0)1527 494005
Mobile: - 07990 648 889

-----Original Message-----
From: Sloane, David [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 14, 2002 9:35 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [SA-list] Command execs

For remote command execution, try psexec - part of PSTools - from www.sysinternals.com.
 
It's extremely powerful when administering systems - you can start a wide range of processes remotely.  Using psexec with batch programs can do great things for sysadmin productivity.
 
Be careful though, that you test applications first before triggering them remotely on a wide scale.  Some apps behave, others don't.
 
-David
 
PS - For extra fun, try "psexec \\servername cmd"  (and then, again, be very careful).
 
PPS - Did I mention you should use psexec with great care?
 
 
-----Original Message-----
From: Dirk Bulinckx [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 14, 2002 3:16 PM
To: [EMAIL PROTECTED]
Subject: RE: [SA-list] Command execs

You can't execute a command on a remote system like that, the only way to do that is using remote services that execute the command.
 
 

dirk.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Rosiak, John
Sent: Thu Nov 14 8:50 PM
To: '[EMAIL PROTECTED]'
Subject: [SA-list] Command execs

Hi,

I have my 'dumb' hat on today.  I am trying to execute a "bat" file as part of an escalation.  The log indicates the command was processed, but it does not perform the requested functions.  Where does the bat file reside ??

The command line is        \\%h\c$\delmail.bat

The log info is:
Thursday, November 14, 2002 2:07:57 PM External check of :"h:\salivecheck\countfiles.exe" ini="h:\salivecheck\countfiles.ini" section=mailcheckhot logging=yes

Thursday, November 14, 2002 2:08:02 PM  1110
Thursday, November 14, 2002 2:08:02 PM DoExternalCheck : returned value :  1110
Thursday, November 14, 2002 2:08:02 PM Escalation procedure for 152.159.214.60
Thursday, November 14, 2002 2:08:02 PM Executed command (\\152.159.214.60\c$\delmail.bat)
Thursday, November 14, 2002 2:08:02 PM Executing command: \\152.159.214.60\c$\delmail.bat
Thursday, November 14, 2002 2:08:02 PM Executed external command (\\152.159.214.60\c$\delmail.bat)

John
609.426.5842

Reply via email to