PS-AutoLab-Env
PS-AutoLab-Env copied to clipboard
`Wipe-Lab -RemoveSwitch` only removes NetNat, but not Switch
Not sure if bug or feature, but the code only runs Remove-NetNat
and not Remove-VMSwitch
:
https://github.com/pluralsight/PS-AutoLab-Env/blob/d93c1a577e073f1b4f8638a86e7ddf3337d3b9da/functions/public.ps1#L1190-L1199
So I had to also run Remove-VMSwitch -Name $Labdata.AllNodes.Lability_SwitchName
.