{"id":1076,"date":"2012-09-10T10:00:21","date_gmt":"2012-09-10T14:00:21","guid":{"rendered":"http:\/\/enterpriseadmins.org\/blog\/?p=1076"},"modified":"2013-02-10T14:07:12","modified_gmt":"2013-02-10T19:07:12","slug":"using-vsphere-image-builder-and-powerpathve","status":"publish","type":"post","link":"https:\/\/enterpriseadmins.org\/blog\/scripting\/using-vsphere-image-builder-and-powerpathve\/","title":{"rendered":"Using vSphere Image Builder and Powerpath\/VE"},"content":{"rendered":"<p>I typically use vSphere Image Builder to create custom ISO images that contain EMC PowerPath VE.  The problem is, I need to add three packages in the correct order &#8212; and I never can remember the correct order.  A few tries and I usually have what I need.  I thought it would be worthwhile to write these down, so at the very least I could find the correct order in the future.<\/p>\n<p>The code below assumes you have the ESXi500-201206001.zip and EMCPower.VMWARE.5.7.P01.b002.zip folders already downloaded and stored in your current working directory.<\/p>\n<pre><code class=\"language-1\">\r\n$buildName = \"VM50-721882_ppve57p1\"\r\n\r\nAdd-EsxSoftwareDepot \u2013DepotUrl ESXi500-201206001.zip\r\n$standard = Get-EsxImageProfile | ?{$_.Name -match 'standard'}\r\n$newProfile = New-EsxImageProfile -CloneProfile $standard.name -Name $buildName\r\n\r\n# Add powerpath VE to the image\r\nAdd-EsxSoftwareDepot -DepotUrl EMCPower.VMWARE.5.7.P01.b002.zip\r\n\"powerpath.lib.esx\",\"powerpath.cim.esx\",\"powerpath.plugin.esx\" | %{ Add-EsxSoftwarePackage -ImageProfile $newProfile -SoftwarePackage $_ }\r\n\r\n# Export Image in ISO and ZIP format\r\nExport-EsxImageProfile \u2013ImageProfile $newProfile -FilePath \"$buildName.iso\" -ExportToIso\r\nExport-EsxImageProfile \u2013ImageProfile $newProfile -FilePath \"Bundle_$buildName.zip\" -ExportToBundle\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I typically use vSphere Image Builder to create custom ISO images that contain EMC PowerPath VE. The problem is, I need to add three packages in the correct order &#8212; and I never can remember the correct order. A few &hellip; <a href=\"https:\/\/enterpriseadmins.org\/blog\/scripting\/using-vsphere-image-builder-and-powerpathve\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[3,4],"tags":[],"class_list":["post-1076","post","type-post","status-publish","format-standard","hentry","category-scripting","category-virtualization"],"_links":{"self":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1076","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/comments?post=1076"}],"version-history":[{"count":4,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1076\/revisions"}],"predecessor-version":[{"id":1192,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/posts\/1076\/revisions\/1192"}],"wp:attachment":[{"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/media?parent=1076"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/categories?post=1076"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/enterpriseadmins.org\/blog\/wp-json\/wp\/v2\/tags?post=1076"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}