Finding all VM’s with an ISO mounted using PowerCLI.

If you ever need to find which of your VM’s have an ISO mounted here’s a quick PowerCLI command you can run.

Get-VM | FT Name, @{Label=”ISO file”; Expression = { ($_ | Get-CDDrive).ISOPath }}

Leave a Reply

Your email address will not be published. Required fields are marked *