KACE Product Support Question

I would like to create a report to identify which machines have SSD's vs HDDs

09/06/2016 4262 views

First time post here and I'm a bit new to Dell Kace as well. I would like to create a report to show which computers have SSD's and which have HDD's so we can go about prioritizing PC upgrades. Reporting drive information such as model/serial number would also be adequate since I can look those up.

Would it be easy to create a report to do this?

The environment is predominantly Windows 7 with some other various Windows environments as well.

Any help is appreciated,

2 Comments   [ + ] Show comments


  • there is an AutoIt Script that detects SSD or HDD. Now i have no access, but will look later.
  • https://www.autoitconsulting.com/site/scripting/detect-an-ssd-disk-using-a-script/
    • Thanks a lot! I will be taking a look into this.

All Answers

The K1000 doesn't track the type of drive in a computer, unfortunately. You will have to create a script like the one mentioned in the comments, that will detect that information. Once you have a script you can have it store the information in a file and then import that into the inventory using a custom inventory rule. If you can write a one line PowerShell script then you can use the  ShellCommandTextReturn(command)  custom inventory rule to just pull the information straight into the inventory. This post might help.

Answered 09/07/2016 by: chucksteel
Red Belt

I couldn't resist spending more time on this. Here's a custom inventory rule that works on Windows 10 systems, I haven't had a chance to test on Windows 7:
ShellCommandTextReturn(powershell -Command "$hash = @{0='Unknown'; 3='HDD'; 4='SSD'; 5='SCM'};Get-WmiObject -namespace root\Microsoft\Windows\Storage MSFT_PhysicalDisk | Select-Object DeviceID,Model,@{LABEL='DriveType';EXPRESSION={$hash.item([int]$_.MediaType)}}")
Here's an example of the output:
*Hard Drive Type:
DeviceID Model DriveType
-------- ----- ---------


Answered 09/07/2016 by: chucksteel
Red Belt

  • FYI, just tested on Windows 7 and it doesn't work. Apparently the WMI namespace I'm using only exists on Windows 10.

    Here's a post that might be useful if you know the drive models of your machines:
    • Thanks a lot for taking a look into that for me, and giving me something to go on. I'll take a look at the link to see what I can do.

      Thanks again!
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