Error while running New-VHD cmdlet on Windows Server 2019

Copper Contributor

Hi,

I am trying to create an empty .vhd file using the PowerShell cmdlet New-VHD on Windows Server 2019 virtual machine hosted on Hyper-V.

I am seeing the attached error while running the cmdlet:

Yojana0787_0-1676983974162.png

I suspected that it could be related to Hyper-V role on the machine. But, it seems to be all good. Here is the screenshot of what I see on my machine.

Yojana0787_1-1676984128123.png

 

Strangely I don't see the Hyper-V Services feature on the Windows Server 2019 VM that I am working on. I see Hyper-V Services feature on other VMs on the same Hyper-V for example Windows 10 VM. 

 

Yojana0787_2-1676984501760.png

 

Any help here will be greatly appreciated.

Thanks,

Yojana

0 Replies