vagrant/plugins/providers/hyperv/scripts/clone_vhd.ps1

10 lines
188 B
PowerShell
Raw Normal View History

2016-03-01 15:23:38 +00:00
Param(
[Parameter(Mandatory=$true)]
[string]$Source,
[Parameter(Mandatory=$true)]
[string]$Destination
)
New-VHD -Path $Destination -ParentPath $Source -ErrorAction Stop