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

10 lines
188 B
PowerShell

Param(
[Parameter(Mandatory=$true)]
[string]$Source,
[Parameter(Mandatory=$true)]
[string]$Destination
)
New-VHD -Path $Destination -ParentPath $Source -ErrorAction Stop