CmdID

CmdID / PowerShell / Cmdlets / Set

Set-VMMemory

Configures the memory of a virtual machine. Windows Server PowerShell reference

From the Windows Server PowerShell reference 17 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

17 in the Windows Server PowerShell reference
Show its 17 parameters
-BufferSpecifies the percentage of memory to reserve as a buffer in the virtual machine to be configured.
-CimSessionRuns the cmdlet in a remote session or on a remote computer.
-ComputerNameSpecifies one or more Hyper-V hosts on which the memory of a virtual machine is to be configured.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-CredentialSpecifies one or more user accounts that have permission to perform this action.
-DynamicMemoryEnabledSpecifies whether dynamic memory is to be enabled on the virtual machine to be configured.
-MaximumAmountPerNumaNodeBytesSpecifies the maximum amount of memory per NUMA node in the virtual machine to be configured.
-MaximumBytesSpecifies the maximum amount of memory to be used by a virtual machine which has dynamic memory enabled.
-MinimumBytesSpecifies the minimum amount of memory to be used by a virtual machine which has dynamic memory enabled.
-PassthruSpecifies that a Microsoft.HyperV.PowerShell.Memory object is to be passed through to the pipeline representing the virtual machine memory to be configured.
-PrioritySets the priority for memory availability to this virtual machine relative to other virtual machines on the virtual machine host.
-ResourcePoolNameSpecifies the name of the memory resource pool for this virtual machine.
-StartupBytesSpecifies the initial amount of memory to be assigned to a virtual machine with dynamic memory enabled, or the total amount of memory to be assigned to a virtual machine with dynamic memory disabled.
-VMSpecifies the virtual machine whose memory is to be configured.
-VMMemorySpecifies the virtual machine memory to be configured.
-VMNameSpecifies the name of the virtual machine whose memory is to be configured.
-WhatIf, -wiShows what would happen if the cmdlet runs.