Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Win32 and Perl

by wgiii91978 (Initiate)
on Dec 18, 2008 at 16:01 UTC ( #731294=perlquestion: print w/replies, xml ) Need Help??
wgiii91978 has asked for the wisdom of the Perl Monks concerning the following question:

How can network administrators use prebuilt client libraries to ease the task of administration? Why is Perl not the language of choice for network administration on win32 networks?

Replies are listed 'Best First'.
Re: Win32 and Perl
by n3toy (Hermit) on Dec 18, 2008 at 17:12 UTC
    Welcome to Perkmonks.

    I work in a Windows environment and use ActiveState Perl for a lot of daily Windows administration. Mostly to look at remote machines and verify the status of services or anti-virus definitions, installed applications, etc... I also use it to pull data and generate / email reports. Sometimes I still have to fall back to VBA for some small piece, but Perl is so much more easier, faster, and just more fun. There are even sample Perl scripts on Microsoft's site (I have the link at work, but PM me if you need me to send you a link). "Language of choice" is a personal thing. However, assuming Perl is not used for administrating would be wrong. It is in fact a great choice if you are comfortable with it.


    update: It might have been more appropriate to post this in Meditations. Not sure. Happy Perl-ing just the same!
      I work in a Windows environment and use ActiveState Perl ... I still have to fall back to VBA for some small piece ...
      I'm sure you already know it, but in case that not, you can easily mix these two by using PerlScript, an Active State extension for the windows scripting host. Check this out.

      holli, /regexed monk/
Re: Win32 and Perl
by Bloodnok (Vicar) on Dec 18, 2008 at 18:33 UTC
Re: Win32 and Perl
by Jenda (Abbot) on Dec 18, 2008 at 19:31 UTC

    Perl is the language of choice for a lot of network admins on Win32 networks. The Windows port of Perl had been upheld by Microsoft (not sure of the details, but there was some funding) and Perl had been even in the ResKit of WinNT 4.0.

    I do not understand the first question.

Re: Win32 and Perl
by Anonymous Monk on Dec 18, 2008 at 16:10 UTC
    1) copy, network shares, scp...
    2) because visualbasic is built-in
Re: Win32 and Perl
by EvanCarroll (Chaplain) on Dec 18, 2008 at 18:44 UTC
    I also work in win32 env some time. I use strawberry as my first gun but some things strawberry makes very not fun, namely Image::Magick. Just yesterday I had a problem installing DateTime::TimeZone under cpanp.. The *DATA filehandle is implemented wrong so tests that involve *DATA and POE fail too. Overall it is very powerful but I'd have to say it requires a programmer with more than the casual interest VB requires.

    Evan Carroll
    I hack for the ladies.
Re: Win32 and Perl
by imrags (Monk) on Dec 19, 2008 at 07:39 UTC
    Generally some permission issues while running scheduled jobs on Windows machines are a problem
    But, microsoft allows access to it's's useful to learn Win32::OLE & other Win32 modules.
    I find it very useful to automate excel stuff and IE stuff

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://731294]
Approved by Arunbear
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2018-04-22 09:30 GMT
Find Nodes?
    Voting Booth?