Create an Offline Bundle With VMware vSphere PowerCLI

Before you can create an offline bundle, you must install the PowerCLI software. vSphere PowerCLI requires:

  • .NET 2.0 Service Pack 1
  • Windows PowerShell 1.0 or Windows PowerShell 2.0 RTM

You can download vSphere PowerCLI from the Resources section of the VMware {code} web site.

To create an offline bundle using vSphere PowerCLI

Procedure

  1. Run vSphere PowerCLI.

    Choose Start > Programs > VMware > VMware vSphere PowerCLI > VMware vSphere PowerCLI.

  2. Select a software depot from which to create an offline bundle.

    Add-ESXSoftwareDepot http://depot-server/build-123456/ESX

    Note: If you previously added a different software depot during this session, first remove it from the array of default software depots. Repeat the following commands until the $DefaultSoftwareDepots array is empty. Then select a software depot using the Add-ESXSoftwareDepot command.
    Remove-ESXSoftwareDepot $DefaultSoftwareDepots[0]
    $DefaultSoftwareDepots
  3. Display a list of the array image profiles in the depot.
    $profiles=Get-ESXImageProfile
    $profiles
  4. Find the array index of the Standard image profile and export it to an offline bundle.
    Export-ESXImageProfile -ImageProfile $profiles[index] ‘
                           -ExportToBundle -FilePath “C:\ESX_bundle.zip”

    For information about using the offline bundle to upgrade ESXi host software, see Create an Offline Bundle With VMware vSphere PowerCLI.

    For more information about using vSphere PowerCLI with image profiles, see vSphere Installation and Setup.