7.0

Table Of Contents
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.
4 Use -Newest to find the latest package.
n Get-EsxSoftwarePackage -Vendor "V*" -Newest
Returns the newest package for the vendors with a name that starts with the letter V, and
displays the information as a table.
n Get-EsxSoftwarePackage -Vendor "V*" -Newest | format-list
Returns detailed information about each software package by using a pipeline to link the
output of the request for software packages to the PowerShell format-list cmdlet.
5 View the list of VIBs in the image profile.
(Get-EsxImageProfile -Name "Robin's Profile").VibList
VibList is a property of the ImageProfile object.
6 Retrieve software packages released before or after a certain date by using the
CreatedBefore or CreatedAfter parameter.
Get-EsxSoftwarePackage -CreatedAfter 7/1/2010
Example: Depot Content Examination Using Variables
This workflow example examines depot contents by passing in parameters as objects accessed
by position in a variable, instead of passing in parameters by name. You can run the following
commands in sequence from the PowerCLI prompt. Replace names with names that are
appropriate in your installation.
Get-EsxSoftwarePackage -Vendor "V*"
Get-EsxSoftwarePackage -Vendor "V*" -Name "r*"
Get-EsxSoftwarePackage -Version "2.0*"
$ip1 = Get-EsxImageProfile -name ESX-5.0.0-123456-full
$ip1.VibList
Get-EsxSoftwarePackage -CreatedAfter 7/1/2010
VMware ESXi Installation and Setup
VMware, Inc. 69