http://qs1969.pair.com?node_id=573088

abachus has asked for the wisdom of the Perl Monks concerning the following question:

Hello all,

I was wondering if anyone knows of a remote admin tool for windows machines written in Perl. Something simple, whereby one could maybe run shell commands, edit the registry perhaps, that sort of thing. A bit like ssh, but it doesn't really need to have any SSL or authentication for my needs, although they would be a bonus.

Cheers,

Isaac.

Replies are listed 'Best First'.
Re: Remote admin script for Win32 ?
by svenXY (Deacon) on Sep 15, 2006 at 14:48 UTC
    Hi,
    not so much a pure perl tool, but I have successfully used Windoze's netsh to query a bunch of M$ DHCP servers remotely. Netsh also serves a lot of other purposes in the windows world. Just type netsh help in a Windows console window and make your way through the documentation. It's more powerfull as it looks like at first sight
    I use perl scripts with system('netsh...') calls.
    Is that what you are after?
    Regards,
    svenXY
      hi,

      netsh isn't really enough for what i would like to be able to do. However, maybe i could use IO::Socket and IPC::Open2 perhaps and run commands remotely. There does seem to be a lot of Win32 modules availible.
      One great thing about programming perl on windows is that i can sometimes forget i'm using windows !

      thanks anyway,

      Isaac.