ReePrime
How to create a vhdx file with Powershell command line

Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.

How to create a vhdx file with Powershell command line

A
Andreas Schmid-Klocke

3 Views • Mar 04, 2018

Description

Tutorial for create a virtual hard drive with Powershell

Helpful links
-

Helpful commands
- New-VHD -Path e:\disks\usb16gbgpt.vhdx -Dynamic -SizeBytes 16GB |
- Mount-VHD -Passthru |
- Initialize-Disk -PassThru -PartitionStyle GPT |
- New-Partition -DriveLetter G -UseMaximumSize |
- Format-Volume -FileSystem NTFS -NewFileSystemLabel USB16GBGPT -Confirm:$false –Force

If you like this tutorial, then click "Like"