Missing Properties from Win32_LogicalDisk


hello wizards

for long time, needed obscure information hard disks; below:

    $drive.manufacturer
    $drive.interfacetype
    $drive.model
    $drive.serialnumber
    $drive.partitions
    $drive.sectorspertrack
    $drive.totalcylinders
    $drive.totalheads 
    $drive.totalsectors
    $drive.totaltracks
    $drive.trackspercylinder

i felt excited; when found @ http://msdn.microsoft.com/en-us/library/aa394084%28v=vs.85%29.aspx , information can retrieved the win32_logicaldisk class. jumped try it; disappointed that, script returns blank values against of them. tried same in vbscript well, same disappointment.

would wizard shed light on reason not showing important data, , how circumvent it!

eagerly waiting response.

you're getting wmi classes mixed up... 1 want is this one...

gwmi win32_diskdrive | select *


inspired heineken.




Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...