in reply to Re: SMART info from drives in win32 using WMI
in thread SMART info from drives in win32 using WMI
I get a huge dump of a data structure and then the text 'OK' -the property 'Status' is documented in http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_diskdrive.asp but not hinted at anywhere in the Dumper output. I can't find a corresponding page for querying SMART info, hence my question.my $DriveCollection = $WMIServices->InstancesOf("Win32_DiskDrive" ); foreach my $Drive ( in( $DriveCollection ) ) { print Dumper $Drive; print $Drive->{'Status'}; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: SMART info from drives in win32 using WMI
by McDarren (Abbot) on May 17, 2006 at 14:05 UTC | |
by Nemurenai (Acolyte) on May 17, 2006 at 14:50 UTC | |
by tye (Sage) on May 18, 2006 at 05:56 UTC | |
by Nemurenai (Acolyte) on May 18, 2006 at 10:52 UTC |