3 Replies Latest reply on Mar 9, 2011 6:53 AM by LucD

    Basic commands to identify all virtual machines with connected CDROMS

    thomps01 Hot Shot

      Hi all,

      I'm totally new to PowerCLI but need to identity the simplest and shortest way for me to list all the virtual machines in my vCenter server that currently have a CDdrive attached.

      I though I'd be able to achieve this with get-vm | get-CDDrive but no results are shown.


      I've seen plenty of examples on the web of how people want to disconnect all drives in one hit, but initially I only want to identify them for a report.


      Can this be achieved in a one liner?