Administrating a domain of machines can be quite a job. Users are always deleting system files, changing bootup configurations, and reconfiguring software. Something is always happening to keep a team of administrators running from desktop to desktop. Luckily, Perl’s Win32 extensions have some handy functions that make this administration easier.
Administrators of Win32 machines need to manage INI files and the Registry. Additionally, NT/Win2k/XP machines need the Event Log to be managed. Perl provides the capability to perform such tasks.
You can find what drives a computer has by calling the Win32::Lanman::NetServerDiskEnum() function:
Win32::Lanman::NetServerDiskEnum( $Machine, \@List );
The first ...