Quantcast
Channel: VMware Communities : All Content - VMware vCenter™
Viewing all articles
Browse latest Browse all 24426

Script to disconnect CD-Rom that's been connected formore than a day

$
0
0

I know it's possible to use PowerCLI to scan for VMs with a connected CD-Rom and automatically disconnect it.  Is it possible to provide a list of VMs with CD-Roms that have been connected for more than a certain period of time and then automatically remove them?

 

I have users of my vSphere environment that apparently think their mom will come clean up after them and disconnect the CD-Roms for them, and I basically need to do just that to prevent connected CD-Roms from preventing successful automated vMotions.

 

~Jeremy


Viewing all articles
Browse latest Browse all 24426

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>