VMware Cloud Community
jessey
Contributor
Contributor
Jump to solution

Command or script to change network connection on a runing VM

Hello,

I've searched the forum quite a lot, tried vmware-cmd setconfig, no way to change this..

we are migrating our datacenter to 3.5, renaming all portgroups on the way, I'd like to automate this (manipulating the vSwitches by scirpt is ok, I've done it and it works well, but no bloody way to modifiy the VMs).

As it is possible to modify the network name of a runing VM from Virtual Center, it MUST be possible by script (undocumented I guess).

Big points wainting for a good answer

Reply
0 Kudos
1 Solution

Accepted Solutions
Rubeck
Virtuoso
Virtuoso
Jump to solution

You can try the Powershell Hands- On lab on page 21 (Moving VMs Among Virtual Networks).

http://blogs.vmware.com/vipowershell/files/vmworld_europe_2008_powershell_lab_7_manual.pdf

/Rubeck

View solution in original post

Reply
0 Kudos
2 Replies
Rubeck
Virtuoso
Virtuoso
Jump to solution

You can try the Powershell Hands- On lab on page 21 (Moving VMs Among Virtual Networks).

http://blogs.vmware.com/vipowershell/files/vmworld_europe_2008_powershell_lab_7_manual.pdf

/Rubeck

Reply
0 Kudos
jessey
Contributor
Contributor
Jump to solution

Excellent, just what I was looking for, thanks a lot Rubeck.

Reply
0 Kudos