VMware Cloud Community
palm101
Enthusiast
Enthusiast

Is it possible to make changes to memory size upon VM restart?

I have a VM that is allocated 768MB but I want to expand it to 1GB. I want this change to take effect when the VM is restarted.

Usually I would shut down the VM and change the memory and start the VM but I want it more automated. Possible?

0 Kudos
3 Replies
Troy_Clavell
Immortal
Immortal

the VM has to be powered off in order to increase the memory

0 Kudos
avlieshout
VMware Employee
VMware Employee

This is possible using VMware PowerCLI, but you have to create your own Powershell script for it.

There are however plenty of examples available to perform different tasks, so with a little help from Google, you should be ok.

-Arnim van Lieshout

-


Blogging: http://www.van-lieshout.com

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

Arnim van Lieshout Blogging: http://www.van-lieshout.com Twitter: http://www.twitter.com/avlieshout If you find this information useful, please award points for "correct" or "helpful".
0 Kudos
savantsingh
Enthusiast
Enthusiast

Youi could use Powershell.

There is another way: use vmware-vim-cmd. If you search for vimsh on google you will find combinations.

This is very usefull link : http://engineering.ucsb.edu/~duonglt/vmware/#vmware_vimsh

Hope this helps.

If you found this information useful, please consider awarding points for "Correct" or "Helpful".
0 Kudos