To delete a virtual machine in Hyper-V, right-click on the virtual machine in Hyper-V Manager, select "Delete," and choose whether to delete only the virtual machine or also the associated files.