quarta-feira, julho 08, 2015

Some basic cmdlets for management disk

Gets one or more Disk objects
>get-disk

Initialize a RAW disk for first use
>Initialize-disk -number 1

Create a New partition,
>New-Partition -disknumber 1 -UseMaximumSize -AssignDriveletter

Remove a partition
>remove-partition -disknumber 1

Return a volume object.
>get-volume

Returns one or more Partition objects
>get-partition

Nenhum comentário: