TheVMinator
Expert
Expert

Viewing Contents of an Image Profile

Jump to solution

I'm using Image Builder CLI and I have just attempted to add a software package to an image profile.  How can I view a list of all the software packages that are part of an image profile?

The command I ran was:

Add-EsxSoftwarePackage -ImageProfile New-ESXi-ImageProfile -SoftwarePackage net-ip-ctx

How can I see that the "net-ip-ctx" software package actually exists in "new-ESXi-ImageProfile"?

Thanks

0 Kudos
1 Solution

Accepted Solutions
markdjones82
Expert
Expert

Try this:

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


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

    C:\PS>Get-EsxImageProfile


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

    C:\PS>Get-EsxImageProfile -Name "ESX-5.0*"


    Display all ESX 5.0 profiles:
    ---------- Example 3 ----------

    C:\PS>Get-EsxImageProfile | ? {$_.Vendor -ne "VMware"}


    Display all image profiles from vendors other than VMware:
    ---------- Example 4 ----------

    C:\PS>(Get-EsxImageProfile -Name "Profile A").VibList


    List all the VIB packages from a particular image profile:

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com

View solution in original post

0 Kudos
2 Replies
markdjones82
Expert
Expert

Try this:

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


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

    C:\PS>Get-EsxImageProfile


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

    C:\PS>Get-EsxImageProfile -Name "ESX-5.0*"


    Display all ESX 5.0 profiles:
    ---------- Example 3 ----------

    C:\PS>Get-EsxImageProfile | ? {$_.Vendor -ne "VMware"}


    Display all image profiles from vendors other than VMware:
    ---------- Example 4 ----------

    C:\PS>(Get-EsxImageProfile -Name "Profile A").VibList


    List all the VIB packages from a particular image profile:

http://www.twitter.com/markdjones82 | http://nutzandbolts.wordpress.com
0 Kudos
TheVMinator
Expert
Expert

OK great thanks

0 Kudos