Add check if EnhancedSessionTransportType is supported by the current version of HyperV
This commit is contained in:
parent
e14aa1e430
commit
ba562f273b
@ -25,6 +25,6 @@ try {
|
||||
Write-OutputMessage "This version of HyperV does not support EnhancedSessionTransportType, ignoring."
|
||||
}
|
||||
} catch {
|
||||
Write-ErrorMessage "Failed to assign EnhancedSessionTransportType to ${Type}: ${PSItem}"
|
||||
Write-ErrorMessage "Failed to assign EnhancedSessionTransportType to ${Type}:${PSItem}"
|
||||
exit 1
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user