Windows Filesystem

From Dave-Wiki
Revision as of 21:59, 11 February 2024 by Dave (talk | contribs) (Created page with "==Format a disk== <code>get-disk</code> note the disk number, then: <code>clear-disk -number 1 -removedata -removeoem</code> (removes data partitions and OEM partitions) <code>new-partition -disknumber 1 -usemaximumsize</code> <code>get-partition -disknumber 1 | set-partition -newdriveletter D</code>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Format a disk

get-disk

note the disk number, then:

clear-disk -number 1 -removedata -removeoem (removes data partitions and OEM partitions)

new-partition -disknumber 1 -usemaximumsize

get-partition -disknumber 1 | set-partition -newdriveletter D