Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Win32 and Perl

by wgiii91978 (Initiate)
on Dec 18, 2008 at 16:01 UTC ( [id://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.

    Jamie

    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.
    www.EvanCarroll.com
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 classes...it's useful to learn Win32::OLE & other Win32 modules.
    I find it very useful to automate excel stuff and IE stuff
    Raghu

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://731294]
Approved by Arunbear
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-19 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found