PowerShell Guide: New VM PowerShell

Updated 2020-03-13.

The following are some sample PowerShell steps to create VMs on Hyper-V.

We copy and paste the code into a new NotePad window. Then, CTRL+H to do a Find & Replace for the VM’s name and/or destination.

Standalone Hyper-V Host