VMware Cloud Community
MariusRoma
Expert
Expert

Increasing memory size

Can I use a script to increase the memory size of a VM (after powering it down)?

Regards

Marius

1 Reply
LucD
Leadership
Leadership

Sure, try like this

$newValue = 8

Get-VM -Name MyVM | Set-VM -MemoryGB $newValue


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference