Automation

 View Only
  • 1.  Viewing Contents of an Image Profile

    Posted Jun 15, 2013 01:50 AM

    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



  • 2.  RE: Viewing Contents of an Image Profile
    Best Answer

    Posted Jun 17, 2013 04:19 PM

    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:



  • 3.  RE: Viewing Contents of an Image Profile

    Posted Jun 18, 2013 02:49 PM

    OK great thanks