logo logo

Change Hyper-V Virtual Machine RAM settings from PowerShell

From PowerShell you can type:
Set-VMMemory serverName -DynamicEnabled $false -StartupBytes 1000mb

For example to turn off dynamic memory use and set the ram to 1gb. The virtual machine has to be off to do this.

bottom