Virtual Machines vDS Network Interfaces configuration in VMX file is lost upon removing it from inventory
Today while doing a manual DR failback test at one of the customers sites where they use Virtual Distributed Switches, I have noticed when removing/adding a Virtual Machine to inventory it lose the configuration for its network interface of which port group its connected to and the like. As the customer was running vSphere 4.1u1, I went ahead and tested the same in my lab running vSphere 5.0 which end up having the exact same behavior. Its important to note that this behavior only affect Virtual Machines that is connected to a Distributed Switch port group, & it does not affect port group configuration for Standard Switches. This behavior although look odd seems to be nothing but as intended by engineering as it makes the assumption that you are restoring the VM to a different Infrastructure where these Distributed Switches might not exist.


![[image]](http://mowser.com/img?url=http%3A%2F%2Fvirtualizationteam.com%2Fads%2F339x281_VeeamONE.png)
![[image]](http://mowser.com/img?url=http%3A%2F%2Fwww.virtualizationteam.com%2Fads%2FVMTurboAd.gif)

![[image]](http://mowser.com/img?url=http%3A%2F%2Fwww.virtualizationteam.com%2Fads%2FStarwind%2520Ad%2520339x80.jpg)
