How can we help?
{{docApp.searchError}}
{{product.name}}
Searching in {{docApp.searchFilterBySpecificBookTitle}}
{{docApp.searchResultFilteredItems.length}} results for: {{docApp.currentResultsSearchText}}
in {{docApp.searchFilterBySpecificBookTitle}}
Search results have been limited. There are a total of {{docApp.searchResponse.totalResultsAvailable}} matches.
You have an odd number of " characters in your search terms - each one needs closing with a matching " character!
-
{{resultItem.title}}
{{resultItem.url}}
{{docApp.libraryHomeViewProduct.title || docApp.libraryHomeViewProduct.id}}
{{docApp.libraryHomeViewProduct.description}}
{{group.title || group.id}}
{{group.description}}
Operation Information
This operation will set the processor details for a specific Hyper-V Virtual Machine. The target VM must be in a shutdown state, as per the Set-VMProcessor documentation: https://docs.microsoft.com/en-us/powershell/module/hyper-v/set-vmprocessor?view=win10-ps
Input Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
VMName |
string |
The name of the Virtual Machine to perform the action against | Yes | No |
HostName |
string |
Optionally provide the Hyper-V host to perform the action on. NetBIOS names, IP addresses, and fully qualified domain names are allowable | No | No |
Count |
decimal |
Specifies the number of virtual processors for the virtual machine | No | No |
CompatibilityForMigrationEnabled |
boolean |
Specifies whether the virtual processor's features are to be limited for compatibility when migrating the virtual machine to another host | Yes | No |
CompatibilityForOlderOperatingSystemsEnabled |
boolean |
Specifies whether the virtual processor's features are to be limited for compatibility with older operating systems | Yes | No |
HwThreadCountPerCore |
decimal |
Specifies the number of virtual SMT threads exposed to the virtual machine | No | No |
Maximum |
decimal |
Specifies the maximum percentage of resources available to the virtual machine processor to be configured. Allowed values range from 0 to 100 | No | No |
Reserve |
decimal |
Specifies the percentage of processor resources to be reserved for this virtual machine. Allowed values range from 0 to 100 | No | No |
RelativeWeight |
decimal |
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 | No | No |
MaximumCountPerNumaNode |
decimal |
Specifies the maximum number of processors per NUMA node to be configured for the virtual machine | No | No |
MaximumCountPerNumaSocket |
decimal |
Specifies the maximum number of sockets per NUMA node to be configured for the virtual machine | No | No |
ResourcePoolName |
string |
Specifies the name of the processor resource pool to be used | No | No |
EnableHostResourceProtection |
boolean |
Specifies whether to enable host resource protection on the virtual machine | Yes | No |
ExposeVirtualizationExtensions |
boolean |
Specifies whether the hypervisor should expose the presence of virtualization extensions to the virtual machine, which enables support for nested virtualization | Yes | No |
Output Parameters
Name | Type | Description | Required | Sensitive |
---|---|---|---|---|
outcome |
string |
Outcome of the operation. Can be OK, WARN or FAIL | Yes | No |
errors |
string |
Any errors returned by the operation | No | No |
warnings |
string |
Any warnings returned by the operation | No | No |
- Version {{docApp.book.version}}
- Node {{docApp.node}} / {{docApp.build}}
In This Document