This script imports zip file that contains host patches into Update Manager 4.1.
To use the script:
- Copy the file that contains the patches to the machine, where the Update Manager is installed.
- Connect to the vSphere server that has this Update Manager server installed on it.
- $vSphereServer = Connect-VIServer <ip_address_of_the_vSphere_Server>
3. 3. Execute the script.
- .\ImportPatches41.ps1 $vSphereServer "C:\Patches\myPatches.zip"
Note: The path to zip file must be a local path for Update Manager Service. Providing a network share is not supported.