Set powerplan to High Performance on VM´s

The recommendation stated is that for virtual machines running on either VMware or Hyper-V should be configured with a High Performance power plan.

Looking at Microsoft Azure VM´s they are set as High Performance by default:

In my Hyper-V lab you can see that I have balanced set and when using the powerplan powershell module I created you can also change it to high perf

If you save the following powershell functions in a folder on c:\program files\windowspowershell\modules\powerplan you can then import it as the screendump and utilize it either on a local server or remote server.