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
-
Run vSphere PowerCLI.
-
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
-
Display a list of the array image profiles
in the depot.
$profiles=Get-ESXImageProfile
$profiles
-
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.