Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 625 Bytes

2018-03-07.md

File metadata and controls

13 lines (11 loc) · 625 Bytes

Repaso examen 2ª evaluación

https://github.com/jesusninoc/ClasesISO/blob/master/2018-03-05.md

Differences between /dev/sda and /dev/sda1

https://serverfault.com/questions/338937/differences-between-dev-sda-and-dev-sda1

VHD Windows

This example creates a new 127GB VHD and then mounts, initializes, and formats it so the drive is ready to use.

$vhdpath = "C:\VHDs\Test.vhdx"
$vhdsize = 127GB
New-VHD -Path $vhdpath -Dynamic -SizeBytes $vhdsize | Mount-VHD -Passthru |Initialize-Disk -Passthru |New-Partition -AssignDriveLetter -UseMaximumSize |Format-Volume -FileSystem NTFS -Confirm:$false -Force