We are planning our AHV migration and would like to migrate about 75% of our VM’s (~400) during their negotiated patch outage windows to minimize how many app teams get to set our schedule for us. Most of these outage windows are in the 3AM time frame.
We would like to find an automated/scripted way to do the cutover so that we can set a job to run that script overnight during that window. I’ve seen some REST calls that look like they could do it. Has anyone actually done it? If so, would they mind sharing a sanitized snippet of their Powershell/REST code?
Thanks in advance!