Obtain an ISO image of the RHEL 8.4 or RHEL 8.10 operating system.
Create a Hyper-V virtual switch.
Procedure
Start the Hyper-V Manager.
On the Menu bar, click Action, and then click New > Virtual Machine.
The Hyper-V Manager displays the New Virtual Machine Wizard window.
In the Specify Name and Location window, in Name, type a name of your choice for the virtual machine.
Optional If you do not want to use the default location for the virtual machine, then select the Store the virtual machine in a different location check box and in Location, choose the appropriate location.
Click Next.
In the Specify Generation window, select a generation version for the virtual machine as appropriate.