Hi Friends,
I am looking for a script which will upgrade the old Nic adapter from E1000 to Vmxnet3. I tried few scripts but didn't get succeeded.
Can someone help me out to get me a good script.
Thanks,
Rakesh
Hi,
moved the thread to the PoweCLI forums.
You can do this with a oneliner:
Get-VM YOUR-VM |Get-NetworkAdapter |Set-NetworkAdapter -Type "vmxnet3"
Tim
Perhaps make sure to first save your network settings from inside the guest OS, they will be lost when you change the NIC type
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hey Tim,
Thanks for your reply. I am aware of this one liner command. What i am looking here is after the Nic up-gradation the static IP/subnet mask should get assigned automatically from old NIc to new Nic.