Hyper-V: create a virtual machine in PowerShell
In this tutorial, I will walk you through how to create a virtual machine on Hyper-V with PowerShell. The PowerShell commands of the tutorial, we were executed directly on the Hypervisor in a console launched in Administrator mode. Prerequisite: retrieve the name of the VMSwitch The first step will be to retrieve the name of …