KevinADC,
yes,this is a long going project of creating a customer tool that creates a beutiful HTML log with ALL system info.
So I'm adding modules as per our R&D requests.
LawnBoy - these are striped disks,so OS should know about it ,I just wondered how I find this info.
Ended up with the following code ("Logical Disk Manager" seems to point to a striped RAID):
my $objWMIService = Win32::OLE->GetObject("winmgmts:\\\\$computer\\root\\CIMV2") or die "WMI connection failed.\n";
my $colItems = $objWMIService->ExecQuery("SELECT * FROM Win32_DiskPartition", "WQL",
wbemFlagReturnImmediately | wbemFlagForwardOnly);
foreach my $objItem (in $colItems) {
print "DeviceID: $objItem->{DeviceID}\n";
print "Size: $objItem->{Size}\n";
if ($objItem->{Type} =~ /Logical Disk Manager/) {
$string = "Type: " . $objItem->{Type} . "\t-Striped !";
} else {
$string = "Type: " . $objItem->{Type};
}
print "$string\n";
Long live king Moshiach !