CmdID / PowerShell / Cmdlets / Set
Set-VMProcessor
Configures settings for the virtual processors of a virtual machine. Windows Server PowerShell reference
From the Windows Server PowerShell reference 22 parameters Its page in the reference
Parameters
Show its 22 parameters
-CimSessionRuns the cmdlet in a remote session or on a remote computer.-CompatibilityForMigrationEnabledSpecifies whether the virtual processor's features are to be limited for compatibility when migrating the virtual machine to another host.-CompatibilityForOlderOperatingSystemsEnabledSpecifies whether the virtual processor's features are to be limited for compatibility with older operating systems.-ComputerNameSpecifies one or more Hyper-V hosts on which processors are to be configured.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CountSpecifies the number of virtual processors for the virtual machine.-CredentialSpecifies one or more user accounts that have permission to perform this action.-EnableHostResourceProtectionSpecifies whether to enable host resource protection on the virtual machine.-ExposeVirtualizationExtensionsSpecifies whether the hypervisor should expose the presence of virtualization extensions to the virtual machine, which enables support for nested virtualization.-HwThreadCountPerCoreSpecifies the number of virtual SMT threads exposed to the virtual machine.-MaximumSpecifies the maximum percentage of resources available to the virtual machine processor to be configured.-MaximumCountPerNumaNodeSpecifies the maximum number of processors per NUMA node to be configured for the virtual machine.-MaximumCountPerNumaSocketSpecifies the maximum number of sockets per NUMA node to be configured for the virtual machine.-PerfmonSpecifies the hardware to be Exposed for Performance Monitoring.-PassthruSpecifies that a Microsoft.HyperV.PowerShell.Processor is to be passed through to the pipeline representing the processor to be configured.-RelativeWeightSpecifies the priority for allocating the physical computer's processing power to this virtual machine relative to others.-ReserveSpecifies the percentage of processor resources to be reserved for this virtual machine.-ResourcePoolNameSpecifies the name of the processor resource pool to be used.-VMSpecifies the virtual machine on which the processor is to be configured.-VMNameSpecifies the name of the virtual machine on which the processor is to be configured.-VMProcessorSpecifies that the virtual machine's settings for virtual processors are to be configured.-WhatIf, -wiShows what would happen if the cmdlet runs.