Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 229246

Re: Using Powercli I having trouble modifying vm hardware and nic portgroup when deploying from template

$
0
0

The Set-VM in line 13 should be a Get-VM

Get-vm -VM $_."Server Name" | Get-NetworkAdapter | Where {$_.NetworkName -eq 140 } |Set-NetworkAdapter -StartConnected:$true -Connected:$true -NetworkName $_.VLAN -Confirm:$false

Can you try that ?


Viewing all articles
Browse latest Browse all 229246

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>