Ms ---> unix

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
miles

Ms ---> unix

Post by miles » Sat Jul 03, 2004 11:47 am

Is there any tools that people would recommend that Ms works well with so that I can macro some jobs on Unix servers ? I currently use Kea Term sessions and I am forever getting Ms to kick off a Kea macro, I wouldn't mind, but I find it alot easier to use Ms than Kea when it comes to writing Macros, mainly thanks to this forum and the submitters.

Cheers guys.

Lumumba

Post by Lumumba » Sat Jul 03, 2004 1:35 pm

I guess you can use PSExec to execute shell scripts (via MSched) on a unix server.
Introduction :
Utilities like Telnet and remote control programs like Symantec's PC Anywhere let you execute programs on remote systems, but they can be a pain to set up and require that you install client software on the remote systems that you wish to access. PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. PsExec's most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems.

Installation :
Just copy PsExec onto your executable path. Typing "psexec" displays its usage syntax.

Usage :
psexec [\\computer[,computer[,..] | @file ][-u user [-p psswd]][-n s][-s|-e][-i][-c [-f|-v]][-d][-w directory][-][-a n,n,...] cmd [arguments]
PsExec works on NT 3.51, NT 4.0, Win2K, Windows XP and Server 2003.
More...

miles

Thanks

Post by miles » Mon Jul 05, 2004 5:56 pm

Cheers labamba. ;-)

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts