Menu

Virtual Geek

Tales from real IT system administrators world and non-production environment

Blog posts : "vcsa"

Check VCSA Upgrade Staging Progress using PowerShell vCenter REST API

While staging patches update on the VCSA (vCenter Server Appliance), it takes some time to download updates on vCenter Server from remote source. Using this script I can track whether staging is completed or not. It simply shows value true or false for Staging Completed in the given output. I found …

Read more

Leveraging PowerShell to Stage VCSA Updates via vCenter REST API

Staging in VMware VCSA (vCenter Server Appliance) allows you to upload/download patches and updates, In the staging process it does not directly install or apply the patches/updates immediately but just copies patch updates on VCSA appliance. Which allows for a faster remediation process during upda…

Read more

Retrieve VCSA vCenter Version with PowerShell REST API

This PowerShell helps to fetch the current version of  VCSA (VMware vCenter Server Appliance). This information is useful while automating VCSA upgrade, It is fetched used from VCSA REST API.

Screenshot of a PowerShell console running 'Show-VCSACurrentVersion.ps1'. The output shows 'Appliance Update Status:', 'Latest Query Time: 08/04/2025 16:00:56', 'Current State: UP_TO_DATE', and 'Installed Version: 8.0.0.300400'.

In the vCenter Server Management portal you can see the Version in the update.

Screenshot of the vCenter Server Management interface, 'Update' tab. It shows 'Current version details' as 8.0.0.400. Below 'Available updates', an update for version 8.0.0.500 is listed as 'Staged', with 'Type: Fix', 'Release Date: Apr 10, 2025', 'Reboot required: Yes', and 'Severity: Critical'.

You can downloa…

Read more

PowerShell & VCSA: Checking for Pending & Latest Updates via REST API

This script helps me to get the latest available pending updates for VCSA in vCenter Server Appliance Management portal before stage and install. It shows all in dept information of pending update from local web repo website url. Which will be helpful to automate installation further with correct ve…

Read more

Reset vCenter Server Appliance (VCSA) Forgotten Root Password Without Reboot

These steps help you to Reset VMware vCenter Server Appliance (VCSA) Forgotten Root Password, best part it does it without reboot means no downtime. First prerequisite for this is SSH must be enabled on VCSA server and Second part is you must know [email protected] account password to logi…

Read more

Delete VMware VCSA Management Schedule Backup Job using PowerShell

This PowerCLI script helps to remove vCenter Server Appliance Management backup schedule job.

Screenshot of a PowerShell console showing the execution of 'Remove-VCSAScheduledBackup.ps1' script. The output confirms a connection to 'marvel.vcloud-lab.com', and then states 'Removing existing backup schedules...' followed by 'Deleted schedule: monthly', indicating successful removal of a vCenter backup schedule.

You can download Remove-VCSAScheduledBackup.ps1 script here or it is also available on github.com.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19…

Read more

Modify Broadcom VCSA Management Schedule Backup Job using PowerCLI

This is VMware PowerCLI script helps to modify existing Backup Schedule in VCSA (vCenter Server Appliance). To manually edit existing backup schedule open vCenter Server Management portal with 5480 port. In the Backup click EDIT link and modify the settings. 

vCenter Server Backup Configuration screenshot showing backup schedule and activity Powercli  PowerShell automation devops

In the below PowerShell script, f…

Read more

Configure vCenter Server Appliance Schedule Backup With VMware.PowerCLI

In my earlier article, I wrote a script to backup VCSA (Broadcom VMware vCenter Server Appliance) on demand using VMware.PowerCLI (PowerShell). In this article I want to have more automated way to setup a schedule job to have backup at scheduled time. To setup backup schedule in VCSA, login to vCent…

Read more

Automating vCenter Server Appliance Backups with PowerShell On Demand

It is a best practice to take backup before doing any update or patching of VCSA (VMware vCenter Server Appliance) or keeping regular backups of VCSA make it makes reliable incase of vCenter server failures. They can be restored easily from backup if required anytime. 

Note you will required VMwa…

Read more

How to Upgrade VMware vCenter Server Using Lifecycle Manager (vLCM)

Upgrading your VMware vCenter Server is a crucial part of maintaining a secure and efficient virtualization environment. In this guide, we’ll walk through the process of upgrading a vCenter Server using VMware Lifecycle Manager (vLCM), highlighting each key step with screenshots and best practices.

Read more

Update vCenter Server Appliance (VCSA) from VAMI portal

This is a step by step procedure updating vCenter Server Appliance (VCSA) using VAMI portal. Before making update to vCenter server make sure you properly backup vCenter server using article Backup VMware vCenter server using SMB protocol.  As I am testing update in DEV environment I have taken a sn…

Read more

Staging vCenter Server Appliance (VCSA) updates using Rest API

This script is a another part of Upgrade vCenter Server Appliance (VCSA) with VMware PowerCLI. In this article I am using Rest API calls to update VCSA via VAMI. At the moment I am able to stage the updates, but installation of update to vCenter is not working. Once I get solution I will revise this…

Read more

Upgrade vCenter Server Appliance (VCSA) with VMware PowerCLI

I had bunch of vCenter Server appliance (VCSA) to update/upgrade. Although the upgrade process using vCenter Server VAMI portal (5480) is fairly very simple and easy as shown in Patching update VMware vCenter Server Appliance from a zipped update bundle Web server. But I wanted it to get it automate…

Read more

VMware vCenter Esxi Add a Trusted Root Certificate to the Certificate Store

In this article I will add the Trusted Root certificate in vCenter Certificate store. Basically this will help to use your Certificate Authority root chain certificate (CA server) or third party certificates in your VMware vSphere infrastructure, If you are intending to use a trusted root certificat…

Read more

Configure, Manage and Assign License Settings for VMware vCenter Server and ESXi

After deploying new VMware vSphere 8.0 products, I was seeing MANAGE YOUR LICENSES (There are expired or expiring licenses in your inventory) warning on the vCenter vSphere Client ui portal top bar. This article focuses on assigning licenses to vCenter server or ESXi host.

Installation Articles

Read more

How to Install vCenter server appliance on ESXi host

In this article I will be installing fresh VMware vCenter server appliance vcsa on esxi server. First step is to download vCenter server 7.0 vcsa ISO file from customerconnect.vmware.com or my.vmware.com website. You need to have access to the VMware site to download ISO. Search for VCSA and go to d…

Read more

VMware PowerCLI Find vCenter server name of any inventory object

In my daily use of Vmware PowerCLI scripts while pulling inventory from vCenter Server, I always include vCenter Center name in the inventory. For example if I am fetching list of Clusters or VMs with complete information it should include a property name of vCenter Server, where the object belongs.…

Read more

PowerCLI Gather complete Virtual Distributed Switch (VDS) information from VMware vCenter

While working at different clients on their VMware infrastructure, I always gather complete inventory of a vCenter infrastructure first before doing any changes or designing a solution. This way I get to know very quick about the architecture. Here is my script which fetches all VDS (Virtual Distrib…

Read more

VMware vCenter server vcsa Setting IP IPv6 configuration failed, IP configuration not allowed

This issue you might have faced at least once while reconfiguring VMware vCenter server VCSA ip configuration. It does not allow to change the IP configuration in (F2) Customize System. Here I am on the vCenter Appliance console and I wanted to change few IP configuration.

Vmware Vsphere esxi vcenter vcsa vmware vcenter server embedded platform services controller appliance customize ip change failed.png

After changing and …

Read more

How to reset vCenter Server SSO [email protected] password

Whenever I get a already configured VMware vSphere projects handover to optimization and modernization, Sometimes I received infrastructure vCenter server with forgotten passwords either root or [email protected]. In my earlier blog I have already shows a procedure to Resetting root passwo…

Read more

20 blog posts

Blog Search

Page Views

1 4 6 1 6 3 9 4

Archive

Follow me on Blogarama