WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
    • VMware Cloud Foundation 9.1
    • VMware Cloud Foundation 9.0
  • VKS
  • Homelab
    • Hardware Options
    • Hardware Reviews
    • Lab Deployment Scripts
    • Nested Virtualization
    • Homelab Podcasts
  • VMware Nostalgia
  • Apple

VCF Agentic AI Hub (Code Assist) MCP Server Fling

10.05.2026 by William Lam // 12 Comments

Creating scripts to help automate repetitive tasks or generate reports is a common need for every VMware administrator, and with Agentic coding tools like Claude Code, Codex, and Cursor, to name a few, the barrier to entry has been significantly lowered. In fact, when I spoke with attendees at VMware Explore Las Vegas 2026 about their use of coding agents, I saw a dramatic shift compared to the previous year, from maybe 20% to now over 80%!

However, one key challenge you may have experienced when using AI models (LLMs) is that they can still hallucinate and make up a non-existent REST API endpoint or PowerCLI cmdlet. LLMs are designed to always provide an answer, even when that answer may be wrong.

To help address this challenge and provide modern LLMs with the required VCF context for developing scripts and automation, a new Fling has just been released called VCF Agentic AI Hub (VCF-AI), which is delivered as a standalone virtual appliance. VCF-AI includes a VCF Code Assist MCP Server that currently supports code generation for the following VCF SDKs:

  • VCF PowerCLI
    • vCenter Server
    • vSAN
    • VCF Operations
    • SDDC Manager
    • NSX
    • vSphere Supervisor
    • HCX
    • SRM
  • VCF Python SDK
    • vCenter Server
    • vSAN
    • vSAN Data Protection
    • VCF Operations
    • VCF Installer
    • SDDC Manager
    • NSX
    • vSphere Supervisor
    • VCF Operations for Networks
    • Log Management
    • VCF Fleet and SDDC LCM

VCF-AI includes all the OpenAPI specifications and documentation for the two SDKs, which cover a number of VCF components along with skill files that have been created by VCF Engineering to allow users to easily create automation using their favorite Agentic coding agent.

[Read more...]

Categories // PowerCLI, VMware Cloud Foundation Tags // MCP, PowerCLI, python, VCF

Retrieving the vSAN Cluster Shutdown VMs running Pre-Check Results using PowerCLI

11.05.2025 by William Lam // Leave a Comment

The vSAN Cluster Shutdown capability has been around since vSAN 7 Update 3 and has been enhanced over the years, most recently with the introduction of a vSAN Cluster Shutdown Wizard as part of the VMware Cloud Foundation (VCF) 9.0 release.


For those looking to automate the shutdown of their vSAN Cluster, we have a number of PowerCLI cmdlets: Get-VsanClusterPowerState, Start-VsanCluster and Stop-VsanCluster that simplifies this process in addition to the new UI interface, all leveraging the vSAN Management APIs.

Before the vSAN Cluster can initiate the shutdown workflow, it needs to make sure all VMs (excluding the vCenter Server VM that is managing the vSAN Cluster) has been powered off. For large environments, it can take some time to power off all VMs, which means you might need to poll or wait before running the Stop-VsanCluster cmdlet.

Instead of having to write additional code to wait for all your VMs to shutdown, you can leverage one of the vSAN Health Check Perspectives that will conveniently let you know when the vSAN Cluster is ready to be shutdown.

[Read more...]

Categories // PowerCLI, VMware Cloud Foundation, VSAN Tags // VCF 9.0

Quick Tip - Auditing configured Per-VM EVC (Enhanced vMotion Compatibility) 

08.18.2025 by William Lam // Leave a Comment

A request came in last week to help automate the inventory of vSphere Virtual Machines (VMs) that have been configured with the Per-VM EVC (Enhanced vMotion Compatibility) capability.


It is important to understand that if a VM is not configured with Per-VM EVC, it will automatically inherit the configured EVC-mode from the vSphere Cluster. While there are several vSphere API properties that will give you information about the EVC details for a VM, the quickest way to check whether a VM has Per-VM EVC configured is by looking at the FeatureMask property.

Here is a quick PowerCLI snippet that demonstrates the use of this vSphere API:

$vms = Get-View -ViewType VirtualMachine -Property Name, Runtime

foreach ($vm in $vms) {
    if($vm.Runtime.FeatureMask -ne $null -and $vm.name -notmatch "vCLS-") {
        Write-Host "Per-VM EVC Enabled for $(${vm}.name)"
    }
}

Here is an example output when running this script and you can adjust the output based on your needs including exporting it to CSV list/etc.

Categories // PowerCLI, vSphere Tags // evc

  • 1
  • 2
  • 3
  • …
  • 57
  • Next Page »

Search

Thank Author

Author

William is Distinguished Platform Engineering Architect in the VMware Cloud Foundation (VCF) Division at Broadcom. His primary focus is helping customers and partners build, run and operate a modern Private Cloud using the VMware Cloud Foundation (VCF) platform.

Connect

  • Bluesky
  • Email
  • GitHub
  • LinkedIn
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • VCF Agentic AI Hub (Code Assist) MCP Server Fling 10/05/2026
  • Automate Inventory of vSphere Supervisor Clusters & vSphere Kubernetes Service (VKS) Guest Clusters 10/02/2026
  • VCF 9.1.1 - OCuLink External Graphics (eGPU) Dock with integrated PSU for GPU Passthrough with VKS 10/01/2026
  • VCF 9.1.1 - Single ESX Host for VCF Fleet, VCF Workload Domain or VCF Cluster 09/30/2026
  • Bypassing Minimum Unique Flows & Metric Collection Period for vDefend Security Services Platform (SSP) 5.2 Lab Deployments 09/28/2026
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.

To find out more, including how to control cookies, see here: Cookie Policy

Copyright WilliamLam.com © 2026

Loading Comments...