I am using this command but it's not removing any uplink. Anyone who can provide me any help on this:-
Anyone who can help me this?
Does this prompt you for the credentials and throws any error message??
No.....but its not removing the adapter from the vSwitch.
What happens when you execute the command?
Can you post the screenshot of the message when you execute the command
can you try the below command
vicfg-vswitch.pl --server FQDN(or)IP --username root --unlink vmnic3 vSwitch5
Could you run a "vicfg-vswitch -l" towards the host? Perhaps the vmnic actually is removed.
The output above only says it has "updated" something with the link, but not actually that the vmnic is still attached to the vSwitch.
No it's not removed it's verified by me from GUI as well as by using the above command.
I have no VMA around to test, but from SSH on a ESXi host this works:
esxcfg-vswitch --unlink vmnic1 vSwitch2
so your syntax looks correct.