Got it Marco, thanks
as explained in my earlier replies, here is what I get:
oPD = wmiquery('Microsoft_PhysicalDisk','Microsoft\Windows\Storage')
? m.oPD
>Hi Thierry, this is all you need to do using my wmiQuery.prg:
>
>oPD = wmiquery('MSFT_PhysicalDisk','Microsoft\Windows\Storage')
>? oPd.items(1).mediaType
>
>( see attached image )
>
>I developed this tool to get any wmi query infomation
> avoiding all the issues involved with the task
>
>Please inspect the sample to get an idea of all the info you can get from wmi,
>from hdd performance, bios, serial numbers, installed software etc.
>
>for example try:
>
>oMyPc = wmiquery('Win32_PNPEntity')
>
>and check oMyPc in your debugger or using intellisense.
>
>Marco
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)