6.5.1

Table Of Contents
Procedure
1 In a PowerCLI session, run the Add-EsxSoftwareDepot cmdlet for each depot you want to work
with.
Option Action
Remote depot Run Add-EsxSoftwareDepot -DepotUrl depot_url.
ZIP file a Download the ZIP file to a local file system.
b Run Add-EsxSoftwareDepot -DepotUrl C:\file_path\offline-
bundle.zip
The cmdlet returns one or more SoftwareDepot objects.
2 Retrieve image profiles.
You can filter by vendor, name, and acceptance level.
n
Get-EsxImageProfiles
Returns an array of ImageProfile objects from all depots you added to the session.
n
Get-EsxImageProfile -Vendor "C*"
Returns all image profiles created by a vendor with a name that starts with the letter C.
3 Retrieve software packages by using the Get-EsxSoftwarePackage cmdlet.
You can filter, for example by vendor or version, and you can use the standard PowerShell wildcard
characters.
n
Get-EsxSoftwarePackage -Vendor "V*"
Returns all software packages from a vendor with a name that starts with the letter V.
n
Get-EsxSoftwarePackage -Vendor "V*" -Name "*scsi*"
Returns all software packages with a name that contains the string scsi in it from a vendor with a
name that starts with the letter V.
n
Get-EsxSoftwarePackage -Version "2.0*"
Returns all software packages with a version string that starts with 2.0.
vSphere Installation and Setup
VMware, Inc. 75