/build/static/layout/Breadcrumb_cap_w.png

SMA Hardware Report that includes Disk type information

Hello,


I am looking to create (or find) a report from the Kace SMA that will show me a system and the type of disk it has installed. We have a few non-SSD disks roaming and would like to be able to run a report that would allow us to identify them quickly.


I've reviewed existing reports to see if that information is in another report, but I do not see it. Any chance someone knows if that kind of information is stored and the table/field name to report it?


Thank you.




0 Comments   [ + ] Show comments

Answers (2)

Posted by: chucksteel 5 years ago
Red Belt
1

Unfortunately, the SMA doesn't capture the drive information needed to determine the type of disk in the computer. Here is the custom inventory rule that we use (similar to the command isudothings posted).

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)}}")



Comments:
  • Thank you so much. I appreciate your assistance. - lnicholsmw 5 years ago
Posted by: isudothings 5 years ago
Senior Purple Belt
0

Here is the relevant Powershell to get that information, you could easily make it a custom inventory rule if you needed and build a report based on that:

Get-WmiObject -Class MSFT_PhysicalDisk -Namespace root\Microsoft\Windows\Storage |
Select FriendlyName,
@{
name="MediaType";
expression={
switch ($_.MediaType) {
3 {"HDD"}
4 {"SSD"}
}
}
}

Comments:
  • Thank you so much. I appreciate your assistance. - lnicholsmw 5 years ago

Don't be a Stranger!

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

Sign up! or login

Share

 
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