Today VMware Labs released a new version of the Horizon Toolbox 2. This is a useful add-on which extends the management capabilities of any existing VMware View implementation. If you administer a VDI installation on a daily basis then I’m sure you’ll find a number of its features useful. Continue reading
A couple of weeks ago VMware released the PowerCLI Extensions Fling. This gives users early access to experimental PowerCLI functionality in the form of modules.
Whilst the highlight of the release was undoubtedly Instant Clone (aka VMFork), a bunch of cmdlets appeared for configuring vFlash on hosts. Fortunately for me, I recently had cause to use them.
My test cluster in the lab recently needed to be rebuilt. As this cluster is nested and I wanted the latest version of ESXi to be deployed, I thought it would be good to use Image Builder to combine the two.
Once done, I used the following PowerCLI script with Image Builder to create my new ISO complete with VMware Tools for Nested ESXi:
# Add VMware depot Add-EsxSoftwareDepot C:\Depot\ESXi550-201505002.zip # Clone the ESXi 5.5 GA profile into a custom profile $CloneProfile = Get-EsxImageProfile ESXi-5.5.0-20150504001-standard $MyProfile = New-EsxImageProfile -CloneProfile $CloneProfile -Vendor $CloneProfile.Vendor -Name (($CloneProfile.Name) + "-virtualhobbit") -Description $CloneProfile.Description # Add the Nested ESXi VMTools Offline bundle Add-EsxSoftwareDepot C:\Depot\esx-tools-for-esxi-9.7.1-0.0.00000-offline_bundle.zip # Add the esx-tools-for-esxi package to the custom profile Add-EsxSoftwarePackage -SoftwarePackage esx-tools-for-esxi -ImageProfile $MyProfile # Disable signature check $DeployNoSignatureCheck=$true # Export the custom profile into an ISO file Export-EsxImageProfile -ImageProfile $MyProfile -ExportToISO -NoSignatureCheck -FilePath C:\Depot\ESXi550-201505002-virtualhobbit.iso
I also chose to export the image profile to a .zip file, so I could use it to remediate an existing cluster using VUM.
Export-EsxImageProfile -ImageProfile $MyProfile -ExportToBundle -NoSignatureCheck -FilePath C:\Depot\ESXi550-201505002-virtualhobbit.zip