• opc.three (1/26/2013)


    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

    Many thanks for that, as I have not worked with mount points before (well not to my better knowledge) I was un aware of that, added to the knowledge bank.