MSInfo32 may also work, but there is something lingering in the cob-webs of my head, that it relys on WMI too... anyway you might be able to use this and then get the info out of the text/report file it generates.

Code:
"C:\Program Files\Common Files\Microsoft Shared\MSInfo\msinfo32" /categories +ComponentsStorage /report c:\storage.txt