Tag Archives: PowerShell

Introducing Simplified Deployment for VMware Cloud Director 10.2

With the release of Cloud Director 10.2, VMware aims to make the deployment easier and more robust with a new deployment UI that includes error-checking. In previous versions, you had to provide the initial configuration with vAPP options during the OVA deployment. When there was a problem, which was very common, especially with the NFS share, you had to redeploy the system. Redeploying the appliance multiple times was was very time-consuming.

In Cloud Director 10.2, the operation has been split into 2 stages, as you know it from the vCenter Server. You first deploy the OVA with some basic settings that are not error-prone and then log into a web interface to do the actual Cloud Director configuration like setting up the NFS share and create the Administrator Account.

This article does a quick review of the installation using my OVF Helper Scripts and the new two-stage appliance system setup.

Read more »

ESXi on RPi - Create EEPROM and Firmware SD Card with PowerShell

The installation of ESXi on a Raspberry Pi using the ESXi on ARM Fling basically involves 3 steps:

  1. Patch RPi EEPROM to the latest version using an SD card. You can reuse the SD card in Step 2.
  2. Write RPi Firmware and EFI to an SD Card. This is the bootloader for ESXi and needs to remain in your RPis SD slot, even after ESXi installation.
  3. Install ESXi on ARM using a USB flash drive (This step is identical to x86 Hardware)

I've tried to make this sprocess unattended so I've created two PowerShell functions that automate Step 1 and 2.

Read more »

Visual Studio Code Error "No match was found for the specified search criteria and module name PackageManagement"

Visual Studio Code asks to perform an update when launching the PowerShell Integrated Console. The Update fails with the following error message:

PS> powershell.exe -NoLogo -NoProfile -Command 'Install-Module -Name PackageManagement -Force -MinimumVersion 1.4.6 -Scope CurrentUser -AllowClobber'

PackageManagement\Find-Package : No match was found for the specified search criteria and module name 'PackageManagement'. Try Get-PSRepository to see all available registered module repositories.

Get-PSRepository returns the following error: Read more »