Windows System Administration: State of the Art

I think that Perl has a richer library of Windows functions available by virtue of the fact that it's been around longer. However, Ruby's WIN32OLE and WIN32API libraries allow you to do most of the common Windows system admin tasks easily. WIN32OLE provides nice interfaces to ADSI, WMI, ADO and all the Office applications. The win32 gems that come standard with the Windows One-Click Installer for Ruby provide easy access to the file system, clipboard, event logs, process and services. If you want to web enable your scripts, Ruby is way easier. I'm a Windows system administrator and I've pretty much quit using Perl since I discovered Ruby. I haven't found any scripts at the MS Script Repository that I haven't been able to translate to Ruby so far. I like Perl a lot, but I have more
fun programming in Ruby.

If you decide to try Ruby, you'll find http://rubyonwindows.blogspot.com/ to be very helpful.

Good luck.

-- Mike

ยทยทยท

-------------- Original message ----------------------
From: "J-H Johansen" <ondemannen@gmail.com>

On Tue, Feb 26, 2008 at 7:45 PM, Krishna Kirti Das > <krishnakirti@gmail.com> wrote:
> I am a long-time user of Perl user who is evaluating different
> scripting languages for use as a scripting platform for system
> administrators on the Windows platform. Perl already has many modules
> that allow sys admins and devolpers to do lots of things with the
> Windows OS, and I'm wondering what the state of the art is with Ruby
> and being able to control a windows environment. In this regard, how
> does Ruby stand up against Perl?

No idea, but I've had some nice experience using PowerShell from Microsoft.

PowerShell Documentation - PowerShell | Microsoft Learn

--
J-H Johansen
--
There are 10 kinds of people in the world: Those who understand binary and
those who don't...