Sha256: 1c338c78ac61e7a693333473adcaf786f318c1da448a15031006b4b746d5142c
Contents?: true
Size: 491 Bytes
Versions: 8
Compression:
Stored size: 491 Bytes
Contents
#Requires -Modules VagrantMessages param ( [parameter (Mandatory=$true)] [Guid] $VMID, [parameter (Mandatory=$true)] [string] $Type ) $ErrorActionPreference = "Stop" try { $VM = Hyper-V\Get-VM -Id $VMID } catch { Write-ErrorMessage "Failed to locate VM: ${PSItem}" exit 1 } try { Hyper-V\Set-VM -VM $VM -EnhancedSessionTransportType $Type } catch { Write-ErrorMessage "Failed to assign EnhancedSessionTransportType to ${Type}: ${PSItem}" exit 1 }
Version data entries
8 entries across 8 versions & 2 rubygems