SCVMM – Removing an attached ISO from a VM
The recommended current practice for clustered Hyper-V host maintenance is to live migrate all VMs on the target host to a different host. This practice also applies if you utilize the SCVMM host migration features of dynamic and power optimization.
Live migration and dynamic and power optimization will normally happen successfully in the background. Any VMs with ISO images attached during either of these tasks will not successfully migrate. The result of a failed migration in either case is possible downtime or degraded performance.
This recipe will show you how to automate the location and removal of attached ISO images on a predefined schedule.
Getting ready
This recipe will leverage System Center 2016 Virtual Machine Manager to find and remediate all the VMs with mounted ISO Images.
To successfully finish this recipe, follow the recipes in Chapter 2, The Initial Configuration of SCO 2016, to register, deploy, and configure the SCVMM Integration Pack...