Upgrade VCSA 6.5U2 to 6.7U1 with CLI

Steps to upgrade VCSA 6.5U2 to 6.7U1 with CLI Download the vCenter Appliance 6.7U1 ISO IMPORTANT: Upgrade from vCenter Server 6.5 Update 2d to 6.7 Update 1 is not supported because this patch released after 6.7 Update 1 and is considered a back in time upgrade. Make a copy of embedded_vCSA_onESXi.json in D:\vcsa-cli-installer\templates\upgrade\vcsa6.5 to C:\Temp\UpgradeVCSA65To67_on_ESXi.json …

Read moreUpgrade VCSA 6.5U2 to 6.7U1 with CLI

Deploy VCSA 6.5 with CLI

Steps to deploy VCSA 6.5 with CLI Download the vCenter Appliance 6.5 ISO file and extract it All the template to install, upgrade & migrate are in D:\vcsa-cli-installer\templates\ and we are going to modify the D:\vcsa-cli-installer\templates\install\embedded_vCSA_on_ESXi.json file to install the VCSA 6.5 in a single ESXi 6.5 host in this lab Modify the parameters according …

Read moreDeploy VCSA 6.5 with CLI

Migrate VMware vSphere 5.5 / 6.0 to 6.5U2 with CLI

Steps to migrate VMware vSphere 5.5 / 6.0 to 6.5U2 with CLI A. Upgrade the vCenter Server Appliance (VCSA) 6.0 to 6.6U2d It will provision a new VCSA 6.5 which is now running on PhotonOS during the migration and export / import all data from existing VCSA 6.0 to 6.5 automatically Prepare a VcsaUpgrade.json file …

Read moreMigrate VMware vSphere 5.5 / 6.0 to 6.5U2 with CLI

Install PowerShell Core with PowerCLI on ubuntu 18.04

Steps to install PowerShell Core with PowerCLI on ubuntu 18.04 Switch to root and install PowerShell Core #Switch to root su – # Download the Microsoft repository GPG keys wget -q https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb # Register the Microsoft repository GPG keys sudo dpkg -i packages-microsoft-prod.deb # Update the list of products sudo apt-get update # Install PowerShell …

Read moreInstall PowerShell Core with PowerCLI on ubuntu 18.04

Sample Preventive Maintenance Reports with PowerCLI

Refer to the list of Sample Preventive Maintenance Reports with PowerCLI Connect to vCenter with PowerCLI #Import VMware Module Import-Module VMware.VimAutomation.Core $vCenter = “10.253.24.16” $User = “administrator@vsphere.local” $Password = “P@ssw0rd” Connect-VIServer -Server $vCenter -User $User -Password $Password -WarningAction SilentlyContinue To get hardware inventory for all VMware ESXi host $VMHosts = Get-VMHost Foreach ($VMHost in $VMHosts) …

Read moreSample Preventive Maintenance Reports with PowerCLI

PowerCLI-Import OVF | The OVF descriptor is not available

I always encounter “The OVF descriptor is not available” when using the Web client to import OVF If i use the PowerCLI below to import OVF with the same OVF file, it will be always successfully #Login to vCenter / vSphere Host Connect-VIServer -Server 192.168.1.121 -User administrator@vsphere.local -Password P@ssw0rd #Map Network Drive to T: $net …

Read morePowerCLI-Import OVF | The OVF descriptor is not available

Install PowerCLI 10 on Windows 10

Please refer to the steps below on how to Install PowerCLI 10 on Windows 10 Set the Execution Policy to RemoteSigned Set-ExecutionPolicy RemoteSigned #Install NuGet Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force Download VMware.PowerCLI (Around 539MB) and store it in C:\Temp\PowerCLI Save-Module -Name VMware.PowerCLI -Path C:\Temp\PowerCLI It will take few minutes to complete depending on your …

Read moreInstall PowerCLI 10 on Windows 10