Hi,
Thanks for posting on our forum!
Firstly, I would like to check whether you can use GUI or PowerShell to configure the OS for your VM, this step should have been completed when you created your VM with PS. Here is the article that shows you how to create a virtual machine with a new virtual disk that boots to an operating system image, you just have to see Create a Virtual Machine with PowerShell and Complete the Operating System Deployment part. The article is for Windows 10 while the PS commands are the same for all versions supporting Hyper-V service:
https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/quick-start/create-virtual-machine#complete-the-operating-system-deployment
Specifically, the PS command for connecting an ISO file for the Windows installation is:
Set-VMDvdDrive -VMName DC -ControllerNumber 1 -Path "<path to ISO>
Secondly, as @Leon Laude has suggested, you can use Hyper-V Manager MMI and Windows Admin Center to configure your OS:
How to manage the HYPER-V Server Core 2016 in Windows Admin Center
https://askme4tech.com/how-manage-monitoring-hyper-v-server-core-windows-admin-center
Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.
Thanks for your support! And I would appreciate it if you could help me Accept Answer to support my work! Have a nice day! : )
BR,
Joan
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.