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

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

$
0
0

I must have completely overlooked this, but why is there a function declaration in line 2 ?

Are you calling that function anywhere ?

 

The memory and CPU setting on line 14 will need a Get-VM first. Somethine like this

Get-vm -Name $_."Server Name" | Set-VM -MemoryGB $_.MemoryGB -NumCpu $_.NumCpu


Viewing all articles
Browse latest Browse all 189307

Trending Articles



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