If anybody knows a way of determining this, either through K1000 or a script, I'd appreciate the help.  Thanks!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

0
See if this script taken from custom-inventory-rule-escaping-quotes can be modified to detect hybrid drives.

I don't have any hybrid drives to test, but the script does differentiate SSDs from HDDs.

$diskdrive = gwmi win32_diskdrive
foreach ($drive in $diskdrive){
if ($drive.model -match 'SSD'){
$ssd='SSD'
} else {
$ssd='HDD'
}
$partitions = gwmi -Query "ASSOCIATORS OF {Win32_DiskDrive.DeviceID=`"$($drive.DeviceID.replace('\','\\'))`"} WHERE AssocClass=Win32_DiskDriveToDiskPartition"
foreach ($part in $partitions){
$vols = gwmi -Query "ASSOCIATORS OF {Win32_DiskPartition.DeviceID=`"$($part.DeviceID)`"} WHERE AssocClass = Win32_LogicalDiskToPartition"
foreach ($vol in $vols){
out-host -InputObject "$ssd $($vol.name)"
}
}
}
Answered 08/29/2015 by: flip1001
Fourth Degree Green Belt

Please log in to comment
0
Answered 09/03/2015 by: aragorn.2003
Red Belt

Please log in to comment
0
you can create a custom CIR to get the model and know what drives you have in inventory are what type.

To get the model of your drives use

shellcommandtextreturn(cmd /c wmic diskdrive get model)
Answered 08/28/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity