From c1fa4cbe67f6352438b898c17a54d9abb43c2c40 Mon Sep 17 00:00:00 2001 From: Dan Cuomo Date: Wed, 11 Nov 2020 10:32:44 -0800 Subject: [PATCH] fixing issue where ISE breaks but shell continues and starts converting team --- Convert-LBFO2SET.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Convert-LBFO2SET.psm1 b/Convert-LBFO2SET.psm1 index c40eb18..8cac0ac 100644 --- a/Convert-LBFO2SET.psm1 +++ b/Convert-LBFO2SET.psm1 @@ -145,7 +145,7 @@ Function Convert-LBFO2Set { Write-Warning "`n`nPlease note: if the failure was due to LACP: `n`t - We will intentionally NOT convert this type of team as the new team will not be functional until the port-channel on the physical switch has been modified" Write-Warning "To continue with an LACP conversion, please break the port-channel on the physical switch and modify the LBFO team to Switch Independent (Set-NetLbfoTeam -TeamingMode SwitchIndependent)" - Break + throw } $configData += @{