KACE Product Support Question

Determine if drive is SSD or hybrid

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


All Answers

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'){
} else {
$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
Black Belt

Answered 09/03/2015 by: aragorn.2003
Red Belt

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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ