Kaseya Community

SSD Report

This question is answered

Hi

My customer would like a report on which of their computers have SSD disks installed in their machines for upgrade purposes.

Does anyone know how I can acheive this?

Thanks

Verified Answer
All Replies
  • In PowerShell:

    Get-PhysicalDisk | Select FriendlyName, MediaType

    MediaType gives you SSD or HDD, FriendlyName gives you brand and model

  •  - Try this:

    <?xml version="1.0" encoding="utf-8"?>
    <ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
    <Procedure name="Audit Drive Type" treePres="3" id="550273363" folderId="21521792588116713137229117" treeFullPath="myProcedures - VAAdmin">
    <Body description="">
    <Statement name="Execute Powershell Command (64-bit, Run As System)" continueOnFail="false">
    <Parameter xsi:type="StringParameter" name="Parameter1" value="" />
    <Parameter xsi:type="StringParameter" name="Parameter2" value="Get-PhysicalDisk | ft FriendlyName,MediaType, @{ Label = 'Size'; Expression={[math]::Round($_.Size/1024/1024/1024,2)}} -HideTableHeaders" />
    <Parameter xsi:type="StringParameter" name="Parameter3" value="True" />
    </Statement>
    <Statement name="WriteScriptLogEntry" continueOnFail="false">
    <Parameter xsi:type="StringParameter" name="Comment" value="Drive Type is: #global:psresult# $DriveType$" />
    </Statement>
    </Body>
    </Procedure>
    </ScriptExport>

    Run it on all your machines (note:  Might not run on older Windows 7 without PS upgrade)

    Once you have it run, you can run a Agent Procedure Log report, and filter on "$DriveType$".

    A more elegant way to do it would be to create and update some custom fields.  Coincidentally Kaseya just published on on the automation exchange: https://automationexchange.kaseya.com/products/618  (have not tried it, but sounds like what you want, if you want to create the custom fields)



    formatting error
    [edited by: Chris Amori at 10:09 AM (GMT -7) on Aug 29, 2019]
  • If you want to see the information in Windows 7+ (not sure about XP or Vista), you can use this in PowerShell as well Get-PSDrive | Grep 'FileSystem'



    Formatting and add tags
    [edited by: bud.manz at 5:02 AM (GMT -7) on Aug 30, 2019]
  • Great suggestions:

    You can also look here:

    automationexchange.kaseya.com/.../618

  • Thanks Oscar - that did exactly what I was looking for.