Question : A Perl Script to get windows server information

Is it possible to create a Perl script to get some information about all windows servers in a domain? Such as OS version, IP address, software installed on these servers.

Thanks in advance

Answer : A Perl Script to get windows server information

What you'll have to look for is primarily found in Windows Management Instrumentation (WMI), easily done in any scripting language. Since you're dealing with a Windows environment exclusively I'd recommend using vbscript instead, as you'll have a easier time with portability across servers.

With that said, grab Microsoft's Scriptmatic v2.0 at http://www.microsoft.com/downloads/details.aspx?FamilyID=09dfc342-648b-4119-b7eb-783b0f7d1178&displaylang=en - it can write a lot of the code for you for the WMI information gathering.

If you're looking to browse around WMI namespace, I hughly recommend WMI Code Creator at http://www.microsoft.com/downloads/details.aspx?FamilyID=2cc30a64-ea15-4661-8da4-55bbc145c30e&displaylang=en - while it doesn't do perl, it does vbscript code generation and will allow you see what information it's gathering.
Random Solutions  
 
programming4us programming4us