I needed a function to find out which PCs have SSDs. Below is the fruit of my research.

 Code:
function IsSSD(optional $Letter)
  Dim $oWMI, $Instances, $Instance, $DiskNumber
  if val(@dos)>=6.2   ; Windows 8 or Higher
    if $letter=""
      $letter="C"
    endif
    if right($letter,1)=":"
      $letter=left($letter,1)
    endif
    $letter=ucase($letter)
    $oWMI = GetObject("WINMGMTS:\\.\ROOT\Microsoft\Windows\Storage")
    $Instances = $oWMI.InstancesOf("MSFT_PhysicalDisk", 1)
    $DiskNumber = GetObject("WINMGMTS:\\.\ROOT\Microsoft\Windows\Storage").ExecQuery("Select * from MSFT_Partition WHERE DriveLetter='" + $Letter + "'").ItemIndex(0).DiskNumber
    For Each $Instance In $Instances 
      if $instance.DeviceID=$DiskNumber
        if $instance.Mediatype=4 and $instance.SpindleSpeed=0
    	    $IsSSD=1
        endif
      endif
    Next
  endif
EndFunction


Note: I only tested this on Win10, but based on documentation, it should also work on Windows 8. Win 7 and below is out of luck.

Would someone mind testing it out, in particular if you have something like a D drive that is a SSD.

Also, it appears MS has created a whole bunch of new WMI spaces. I wonder if we could find a way to incorporate them into kixomatic?

Suggestions, comments?