You must remove all virtual machines from a logical switch before uninstalling it.


You must have been assigned the Enterprise Administrator or NSX Administrator role.


  1. In the vSphere Web Client, navigate to Home > Networking & Security > Logical Switches.
  2. Remove all virtual machines from a logical switch.
    1. Select a logical switch and click the Remove Virtual Machine icon (Remove VM).
    2. Move all virtual machines from Available Objects to Selected Objects and click OK.
  3. With the logical switch selected, click the Delete (Delete) icon.