Add check if EnhancedSessionTransportType is supported by the current version of HyperV

This commit is contained in:
RudiMT 2021-03-02 20:43:08 +01:00 committed by sophia
parent e14aa1e430
commit ba562f273b

View File

@ -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
}