vSphere PowerCLI Reference

Get-EsxImageProfile

Synopsis

Syntax

Get-EsxImageProfile [[-Name] <String[]>] [[-Vendor] <String[]>] [[-AcceptanceLevel] <AcceptanceLevels[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Related Commands

Detailed Description

Lists the image profiles from software depots as well as image profiles created by the user. The output is in table form by default. Pass the image profile in the -ImageProfile parameter to the New-EsxImageProfile, Export-EsxImageProfile, Set-EsxImageProfile, Add-EsxSoftwarePackage, Remove-EsxSoftwarePackage, and Compare-EsxImageProfile cmdlets in one of these ways:


*Use the name of the image profile
*Pipe the output of this cmdlet into the cmdlets See each cmdlet's examples for details.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Filters the output to list only image profiles whose Name field matches one of the strings supplied. Wildcard characters are supported.falsefalse
VendorString[]Filters the output to list only image profiles whose Vendor field matches one of the strings supplied. Wildcard characters are supported.falsefalse
AcceptanceLevelAcceptanceLevels[]Filters the output to list only image profiles whose AcceptanceLevel field matches one of the strings supplied. Must be one of the following values:

*VMwareCertified

*VMwareAccepted

*PartnerSupported

*CommunitySupported
falsefalse
ConfirmSwitchParameterfalsefalse
WarningActionActionPreferencefalsefalse
WarningVariableStringfalsefalse
WhatIfSwitchParameterfalsefalse

Return Type

Notes

Examples

---------- Example 1 ----------

Get-EsxImageProfile

Display all image profiles from depots and all image profiles the user created during this PowerCLI session:

---------- Example 2 ----------

Get-EsxImageProfile -Name "ESX-5.0*"

Display all ESX 5.0 profiles:

---------- Example 3 ----------

Get-EsxImageProfile | ? {$_.Vendor -ne "VMware"}

Display all image profiles from vendors other than VMware:

---------- Example 4 ----------

(Get-EsxImageProfile -Name "Profile A").VibList

List all the VIB packages from a particular image profile:


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.