-
Notifications
You must be signed in to change notification settings - Fork 64
VMProcessor
dscbot edited this page Jun 12, 2022
·
2 revisions
| 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. NOTE: Only supported on Windows 10 and Server 2016 or higher. | |
| ExposeVirtualizationExtensions | Write | Boolean | Specifies whether nested virtualization is enabled. NOTE: Only supported on Windows 10 and Server 2016 or higher. | |
| HwThreadCountPerCore | Write | UInt64 | Specifies the maximum thread core per processor core. NOTE: Only supported on Windows 10 and Server 2016 or higher. | |
| 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 set to $true then shutdowns and restarts are allowed for the VM when needed for property changes. |
Manages Hyper-V virtual machine processor options.
- The Hyper-V Role has to be installed on the machine.
- The Hyper-V PowerShell module has to be installed on the machine.