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
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:
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:
OK great thanks