#Quick On-liner to look through all VMs in a vCenter and unmount all of the connected CDs.
get-vmhost | get-vm |get-cddrive| set-cddrive -nomedia -confirm:$false
https://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Set-CDDrive.html
POWERCLI – Powershell — Hit me up on twitter @VMNICK0
#Quick On-liner to look through all VMs in a vCenter and unmount all of the connected CDs.
get-vmhost | get-vm |get-cddrive| set-cddrive -nomedia -confirm:$false
https://www.vmware.com/support/developer/PowerCLI/PowerCLI41/html/Set-CDDrive.html