Here's the powershell option:

 

Get-WmiObject Win32_LogicalDisk | Where-Object {$_.drivetype -eq 2} | fl *

 

If you know the VolumeSerialNumber, you can just alter the script:

 

Get-WmiObject Win32_LogicalDisk | Where-Object {$_.VolumeSerialNumber -eq 
<whatever>} | fl *

 

 

If you want to leverage the native os, there's vbscript.  I'm a little rusty 
but it will probably look similar to this:

 

Set objWMIService = GetObject ("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery ("Select * from Win32_LogicalDisk where 
DriveType=2")

 

Thanks!
                                          
_________________________________________________________________
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850552/direct/01/
_______________________________________________
Pauldotcom mailing list
[email protected]
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

Reply via email to