Hello,

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,

John 
2 Comments   [ + ] Show Comments

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.
Please log in to comment

Answers

0
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

Please log in to comment
0
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
-------- ----- ---------
0 SAMSUNG MZFLV256HCHP-000MV SSD 


[string]
Enjoy!

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:
    https://blogs.technet.microsoft.com/heyscriptingguy/2013/03/17/powertip-use-powershell-to-identify-ssd/
    • 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!
Please log in to comment
Answer this question or Comment on this question for clarity

Share