Search This Blog

Thursday, February 20, 2020

How to list attached ISO files to all Hyper-V machines

The event log for one of my Hyper-V hosts was full of "Failed to get disk information" errors, saying that it could not find attached ISO file. So I needed a command to list all VMs and their attached ISO files. To list all attached ISO files you just simply run this Powershell command:

Get-VMDvdDrive -VMName *

No comments:

Post a Comment