Sometimes you need to configure the processor compatibility on virtual machines when you need to migrate them between servers that have different processor types (note: types, not brands!).
Here’s a simple oneliner that will configure the processor compatibility on all VM’s:
Get-VM | Set-VMProcessor -CompatibilityForMigrationEnabled $true
And to disable it (for whatever reason):
Get-VM | Set-VMProcessor -CompatibilityForMigrationEnabled $false
This is something that came up at a workshop I’ve attended this week… very handy!