Read how to set up a virtual machine on Windows Server 2016 running Hyper-V. You can use this workflow for Windows Server 2019 and 2022 with Hyper-V installed as the workflow for virtual machine configuration is the same for these new Windows versions: https://www.nakivo.com/blog/creating-configuring-vms-in-windows-server-2016-hyper-v