There are a few steps involved in changing a VM from Gen 1 to 2. The first step is to open the Hyper-V Manager and select the VM that you want to change. Once you have selected the VM, click on the "Settings" option in the right-hand pane. In the "Settings" window, click on the "General" tab. Under the "General" tab, you will see an option to change the "Generation" of the VM. Select the "Generation 2" option and click "OK". The VM will now be changed to a Generation 2 VM.