Pages: [1]
Print
Author Topic: Change VM-Network after deployment  (Read 822 times)
dma0211
Newbie
*
Posts: 15


View Profile
« on: July 22, 2009, 09:15:44 PM »

We find this useful for RO template deployments

Code:
Get-VM -name vmxxxxx* | Get-NetworkAdapter | Where { $_.NetworkName ?eq "Some Network VLAN" } | Set-NetworkAdapter -Confirm:$false ?NetworkName "Some other Network VLAN"
Logged
Pages: [1]
Print
Jump to: