If you remove an ESXi host configured with a vDS from a vCenter Server system and add it to a new vCenter, you will see an error similar to the below:
"The host proxy switch associated with ####-####-###-###-##-###-###.####.##.## no longer exists in vCenter Server. vCenter Server is not able to automatically remove the host proxy switch because it is still in use. To resolve the issue, disconnect any VMs and VMkernel adapters that might be connected to the switch and remove the switch."
VMware vCenter Server
VMware vSphere ESXi
In some situations, the user does not need the vDS on the host at all any more. In this case, the user can delete the host's proxy copy by clicking on Inventory > Host > Configure > Networking > Virtual Switches. The vDS will be listed here. If objects are still attached to the vDS, they will need to be moved to another switch. Once the vDS is empty, there will be an option to remove the vDS in the menu next to the vDS.
If a "resource is in use" error occurs, see The resource 'Port-ID' is in use error when removing a host from VDS.
Method 2
Removal of stale vDS data from the host:
esxcfg-vswitch -lesxcfg-vswitch --del-dvp-uplink=vmnic2 --dvp=88 <DVS Name>net-dvs -d <DVS Name> esxcfg-vswitch -l
If you have NSX involved and vibs are present but the host is not prepared for NSX run through NSX VIBs are not removed from an ESXi host to remove NSX.