This is the built-in help made by Microsoft for the command 'Set-VMProcessor', in PowerShell version 3 - as retrieved from
Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Configures one or more processors of a virtual machine.
Set-VMProcessor [-VMName] <String[]> [-CompatibilityForMigrationEnabled <Boolean>] [-CompatibilityForOlderOperatingSystemsEnabled <Boolean>]
[-ComputerName <String[]>] [-Count <Int64>] [-Maximum <Int64>] [-MaximumCountPerNumaNode <Int32>] [-MaximumCountPerNumaSocket <Int32>]
[-Passthru] [-RelativeWeight <Int32>] [-Reserve <Int64>] [-ResourcePoolName <String>] [<CommonParameters>]
Set-VMProcessor [-VM] <VirtualMachine[]> [-CompatibilityForMigrationEnabled <Boolean>] [-CompatibilityForOlderOperatingSystemsEnabled
<Boolean>] [-Count <Int64>] [-Maximum <Int64>] [-MaximumCountPerNumaNode <Int32>] [-MaximumCountPerNumaSocket <Int32>] [-Passthru]
[-RelativeWeight <Int32>] [-Reserve <Int64>] [-ResourcePoolName <String>] [<CommonParameters>]
Set-VMProcessor [-VMProcessor] <VMProcessor[]> [-CompatibilityForMigrationEnabled <Boolean>] [-CompatibilityForOlderOperatingSystemsEnabled
<Boolean>] [-Count <Int64>] [-Maximum <Int64>] [-MaximumCountPerNumaNode <Int32>] [-MaximumCountPerNumaSocket <Int32>] [-Passthru]
[-RelativeWeight <Int32>] [-Reserve <Int64>] [-ResourcePoolName <String>] [<CommonParameters>]
The Set-VMProcessor cmdlet configures one or more processors of a virtual machine.
<
<
Example 1
PS C:\>Set-VMProcessor TestVM -Count 2 -Reserve 10 -Maximum 75 -RelativeWeight 200
Configures virtual machine TestVM with two virtual processors, a reserve of 10%, a limit of 75%, and a relative weight of 200.
Example 2
PS C:\>Set-VMProcessor TestVM -CompatibilityForMigrationEnabled $true
Configures virtual machine TestVM, enabling processor compatibility for live migration.
Example 3
PS C:\>Set-VMProcessor TestVM –CompatibilityForOlderOperatingSystemsEnabled $true
Configures virtual machine TestVM, enabling compatibility for running older operating systems.