For the actual COM items you can use and what data you can get from them, a good site is: http://msdn2.microsoft.com/en-us/library/aa394373.aspx

Beyond that, any script using COM can be adjusted to use pretty much any of the objects shown on the site.

Here's an example to get your video card information.

Code:
displaysystem {
  ; Use Caption,AdapterRAM
  .comopen xpver1 WbemScripting.SWbemLocator
  .comclose xpver1 $com(xpver1,ConnectServer,1,dispatch* xpver2)
  if $com(xpver2) {
    .comclose xpver2 $com(xpver2,ExecQuery,1,bstr*,select $1 from Win32_VideoController,dispatch* xpver3)
    if $com(xpver3) {
      var %a = $comval(xpver3,1,$1)
      .comclose xpver3
      return %a
    }
  }
}


Use:
$displaysystem(caption)
$displaysystem(adapterram)

As a note, this was actually from another COM script shown to me for OS output, but was adjusted for showing the video card information. I didn't bother changing the names used when opening the COM, but you can if you want to make it more clear what's going on.


Invision Support
#Invision on irc.irchighway.net