This script imports a host upgrade iso or zip file into Update Manager 4.1 and creates host upgrade baseline that
includes it if a baseline name is specified.If you have vSphere Update Manager 5.0 and vSphere Update Manager PowerCLI 5.0 installed use ImportESXiImage50.ps1.
To use the script:
- Copy the file that contains the host upgrade 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>
- Execute the script
- .\ImportUpgradeRelease41.ps1 $vSphereServer "C:\UpgradeReleases\myUpgradeRelease.iso" "MyHostUpgradeBaseline"
Note: The path to the file must be a local path for Update Manager Service. Providing a network share is not supported.