Sha256: 90e6230434c0cc0426ac12bae5c287752dc67cf8f16e6b7ee2d598d6a254c23b

Contents?: true

Size: 343 Bytes

Versions: 10

Compression:

Stored size: 343 Bytes

Contents

#Requires -Modules VagrantMessages

param(
    [Parameter(Mandatory=$true)]
    [string]$DiskFilePath
)

try {
    $Disk = Hyper-V\Get-VHD -path $DiskFilePath
} catch {
    Write-ErrorMessage "Failed to retrieve disk info from disk file path ${DiskFilePath}: ${PSItem}"
    exit 1
}

$result = ConvertTo-json $Disk
Write-OutputMessage $result

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
vagrant-unbundled-2.3.6.0 plugins/providers/hyperv/scripts/get_vhd.ps1
tamtam-vagrant-reload-1.2.1 vendor/cache/vagrant-2092df529ae7/plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-unbundled-2.3.3.0 plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-unbundled-2.3.2.0 plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-unbundled-2.2.19.0 plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-unbundled-2.2.18.0 plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-unbundled-2.2.16.0 plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-unbundled-2.2.14.0 plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-aws-mkubenka-0.7.2.pre.24 vendor/bundle/ruby/2.7.0/bundler/gems/vagrant-22795b161bf6/plugins/providers/hyperv/scripts/get_vhd.ps1
vagrant-unbundled-2.2.10.0 plugins/providers/hyperv/scripts/get_vhd.ps1