Menu

Virtual Geek

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

Blog posts : "vmware"

Broadcom PowerCLI: Building a GUI to Check VMware HA Admission Control Compliance

This PowerCLI GUI script I have written to audit VMware ESXi clusters high availability (HA) inside vCenter Server. This script validates below ideal configuration is defined on the cluster and tells me whether configuration is correct with green tick and non-compliant with red cross.

Note: …

Read more

Automating VMware ESXi Cluster Admission Control Report Insights with PowerCLI

This PowerCLI script retrieves detailed information about VMware Cluster High Availability (HA) and Admission Control policies. It is extremely useful for system administrators and auditors who need to verify that cluster settings comply with engineering or governance standards.

By running this s…

Read more

PowerCLI GUI: One Click Renew and Refresh VMware VMCA ESXi Certificate

This is second script article wrote on same topic 'How to Renew and Refresh an ESXi Certificate with a PowerCLI script'. In the earlier post I gave simple PowerCLI script, very easy to execute. In this article I have written the same script but added a Graphical User Interface for more easiness. Bel…

Read more

How to Renew and Refresh an ESXi Certificate with a PowerCLI script

By renewing VMware ESXi server certificate through vCenter Server you can safeguards adherence to security best practices. You renew ESXi certificate to continue securing connection for your vSphere environment, avert trust issues with vCenter Server, and guarantee compatibility for upgrades, as exp…

Read more

Get VMware vCenter Appliance Version using Broadcom PowerCLI VCSA REST API

This PowerShell script uses VMware vCenter Server Rest API and shows VCSA (vCenter Server Appliance) version through the command line. Keeping track of your vCenter Server Appliance (VCSA) version is crucial for effective management and update. Simply provide your vCenter credentials, and the script…

Read more

Install VMware VCSA Patch Upgrade using PowerCLI vCenter REST API

This is the main script in the series and does major task of Installing the latest patch update on VCSA (VMware vCenter Server Appliance).

Screenshot of Install Broadcom VMware VCSA Patch Upgrade using PowerCLI vCenter server REST API

While running this script you will need to provide vCenter Server, User, Password, Version (Optional), Patch URL parameter information in the script, a…

Read more

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 downlo…

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 lo…

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 vCe…

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 requir…

Read more

VMware Photon OS Remote SSH: Password Authentication Fix

After installing and setup VMware Photon OS in my lab on VM. While doing remote SSH to the Photon OS, my root user login was failing after providing correct password multiple times. In the last it was showing Too many authentication failures.

Screenshot of a PowerShell console showing an SSH connection attempt to root@192.168.34.48 repeatedly failing with 'Too many authentication failures' and a disconnect message.

As remote SSH root login attempt was failing, I …

Read more

Photon OS: Allow Ping (ICMP) Through IPTables Firewall

While working with VMware Photon OS, I was seeing an issue where I configured IP addresses successfully, but ping (ICMP) was not working from outside. This occurs due to ICMP (ping) traffic is blocked by default in Photon OS’s iptables firewall rules.

To resolve this and allow ping functional…

Read more

Fix CPU Support Error: Installing VMware ESXi 9 on Unsupported CPUs

While testing the newly released VMware ESXi 9 in my lab environment, I was seeing the following error during the installation process. This issue popped up right after the system scan and was not letting me do the complete deployment. In this article, I’ll walk you through the cause of the error an…

Read more

Performing vCenter Offline Updates Via Your On-Prem Web Server Securely & Seamlessly

Handling vCenter Server updates across multiple sites with limited internet access creates operational annoyances. Downloading ISO files for each instance, manually transferring them, and repeating the process for every vCenter consumes valuable time and resources for really big environments.

In …

Read more

Excel on Web Browser: Simple Guide for Reports & Dashboards

This is a Quick Guide on displaying Excel files in your choice of browser such as chrome, edge etc Instantly. 

Benefits of Using This Method:

  • Share and Collaborate Easily: A Web-Based Excel Viewer for Teams.
  • 100% HTML Code: Render Excel files directly in the browser.
  • Easy Update…

Read more

VMware ESXi Unattended Setup: Building a Kickstart-Enabled Custom ISO from Scratch

Why Build a Custom ESXi Kickstart ISO?

Automating ESXi installations eliminates manual configuration errors and accelerates data center scaling. By embedding a Kickstart (KS.CFG) file into your ISO, you achieve:

  • Zero-touch deployments: Install ESXi with preconfigured network settings, …

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

Reset VMware ESXi root password from vCenter using PowerCLI

When I began working with a new client on their Virtualization Broadcom VMware project, I encountered several ESXi servers that were already deployed and connected to vCenter servers. Since I was new to the project, I found that the root passwords for some of these ESXi servers were undocumented and…

Read more

20 blog posts

Blog Search

Page Views

13869636

Archive

Follow me on Blogarama