Book Image

VMware vSphere 5.5 Cookbook

By : Abhilash G B
Book Image

VMware vSphere 5.5 Cookbook

By: Abhilash G B

Overview of this book

Table of Contents (22 chapters)
VMware vSphere 5.5 Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Choosing an ESXi Image Profile to deploy


Every offline bundle will have one or more predefined image profiles. An image profile defines what vSphere Installation Bundles (VIBs) should be included in an image deployed using it. For creating an Auto Deploy rule, you will need to make a decision on which of the available image profiles to use.

How to do it…

The following procedure will help you list all the image profiles imported from an offline bundle, and assign the list to an array variable, so that they can be easily referenced in any of the future commands executed in the current PowerCLI session:

  1. Display all the ESXi image profiles available in the current session, by issuing the command Get-EsxImageProfile:

  2. Save the output of the Get-EsxImageProfile command to an array variable for easy subsequent reference in the session, by issuing the following command:

    $image_profile_array=Get-EsxImageProfile
    
  3. Try viewing each of the array elements by performing an individual listing on them:

    $image_profile_array...