• anthony.green (1/22/2013)


    Powershell will probably be the best bet on that

    Get-WmiObject win32_logicaldisk | where-Object {$_.providername -like ''} | select deviceid, size

    Win32_LogicalDisk will work in most cases but know that it does not pickup mount points. For a more comprehensive view (post Windows 2000 Server) use the Win32_Volume class instead.

    Get-WmiObject Win32_Volume | gm

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato