Skip to content

xVMProcessor

dscbot edited this page Jun 4, 2022 · 1 revision

xVMProcessor

Parameters

Parameter Attribute DataType Description Allowed Values
VMName Key String Specifies the name of the virtual machine on which the processor is to be configured.
EnableHostResourceProtection Write Boolean Specifies whether to enable host resource protection.
ExposeVirtualizationExtensions Write Boolean Specifies whether nested virtualization is enabled.
HwThreadCountPerCore Write UInt64 Specifies the maximum thread core per processor core.
Maximum Write UInt64 Specifies the maximum percentage of resources available to the virtual machine processor to be configured. Allowed values range from 0 to 100.
MaximumCountPerNumaNode Write UInt32 Specifies the maximum number of processors per NUMA node to be configured for the virtual machine.
MaximumCountPerNumaSocket Write UInt32 Specifies the maximum number of sockets per NUMA node to be configured for the virtual machine.
RelativeWeight Write UInt32 Specifies the priority for allocating the physical computer's processing power to this virtual machine relative to others. Allowed values range from 1 to 10000.
Reserve Write UInt64 Specifies the percentage of processor resources to be reserved for this virtual machine. Allowed values range from 0 to 100.
ResourcePoolName Write String Specifies the name of the processor resource pool to be used.
CompatibilityForMigrationEnabled Write Boolean Specifies whether the virtual processors features are to be limited for compatibility when migrating the virtual machine to another host.
CompatibilityForOlderOperatingSystemsEnabled Write Boolean Specifies whether the virtual processor’s features are to be limited for compatibility with older operating systems.
RestartIfNeeded Write Boolean If specified, shutdowns and restarts the VM if needed for property changes.

Description

Manages Hyper-V virtual machine processor options.

Requirements

  • The Hyper-V Role has to be installed on the machine.
  • The Hyper-V PowerShell module has to be installed on the machine.