Sha256: 9947125f2f40b3379821aad9b2e2c1725bb89ddb1d383eca809cfffcd6f6fc68
Contents?: true
Size: 294 Bytes
Versions: 7
Compression:
Stored size: 294 Bytes
Contents
Param( [Parameter(Mandatory=$true)] [string]$VmId ) $VM = Hyper-V\Get-VM -Id $VmId -ErrorAction "Stop" $Snapshots = @(Hyper-V\Get-VMSnapshot $VM | Select-Object Name) $result = ConvertTo-json $Snapshots Write-Host "===Begin-Output===" Write-Host $result Write-Host "===End-Output==="
Version data entries
7 entries across 7 versions & 2 rubygems