PS-AutoLab-Env icon indicating copy to clipboard operation
PS-AutoLab-Env copied to clipboard

`Wipe-Lab -RemoveSwitch` only removes NetNat, but not Switch

Open andreasjordan opened this issue 1 year ago • 0 comments

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.

andreasjordan avatar Nov 07 '22 12:11 andreasjordan