Archive for the ‘Perl Scripts’ Category

A perl script to list all the current running processes / a particular process on an array of systems. Needs Windows Management and Instrumentation Service Enabled on the remote machine. Tested on Active Perl 5.6+ and XP. Useful for maintaining inventory information. Usefull to find an instance of say a suspicious process on all ur [...]

Below is a simple perl script to fetch local / remote Operating System Information (for Microsoft Platform). Needs Windows Management and Instrumentation Service Enabled on the remote machine. Tested on Active Perl 5.6+ and XP. Useful for maintaining inventory information. use strict; use Win32::OLE(‘in’); use constant bFlagReturnImmediately => 0×10; use constant bFlagForwardOnly => 0×20; my [...]