Wmic: Difference between revisions

From lippmann wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
  TOSHIBA THNSNC128GCSJ    \\.\PHYSICALDRIVE0  TOSHIBA THNSNC128GCSJ    4          128035676160
  TOSHIBA THNSNC128GCSJ    \\.\PHYSICALDRIVE0  TOSHIBA THNSNC128GCSJ    4          128035676160
  ST2000NM 0011 USB Device  \\.\PHYSICALDRIVE2  ST2000NM 0011 USB Device  1          2000396321280
  ST2000NM 0011 USB Device  \\.\PHYSICALDRIVE2  ST2000NM 0011 USB Device  1          2000396321280
You can then use dd from the [[http://sourceforge.net/projects/unxutils/ unix utils]] to write an image to a drive.

Revision as of 14:52, 17 August 2013

wmic diskdrive list brief

will list the physical drives from the windows command line.

C:\Users\maarten.LIPPMANN>wmic diskdrive list brief
Caption                   DeviceID            Model                     Partitions  Size
TOSHIBA MK1637GSX         \\.\PHYSICALDRIVE1  TOSHIBA MK1637GSX         1           160039272960
TOSHIBA THNSNC128GCSJ     \\.\PHYSICALDRIVE0  TOSHIBA THNSNC128GCSJ     4           128035676160
ST2000NM 0011 USB Device  \\.\PHYSICALDRIVE2  ST2000NM 0011 USB Device  1           2000396321280


You can then use dd from the [unix utils] to write an image to a drive.