Monday, November 13, 2017

Use PowerCLI to find all VMs with a mounted ISO file as a CD/DVD drive


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