WilliamLam.com

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

Auditing ESX DCUI Logins

11.10.2025 by William Lam // Leave a Comment

For troubleshooting purposes, users may need to access the ESXi Direct Console User Interface (DCUI), either remotely through an out-of-band system like an iDRAC or iLO, or directly from the physical server.


For auditing purposes, all login methods to ESXi (SSH, API, Host Client, and DCUI) are recorded, and a corresponding vSphere Event called UserLoginSessionEvent is generated for easy filtering.

[Read more...]

Categories // ESXi Tags // dcui

Capturing Kasa Smart Plug Power Metrics using VCF Operations Management Pack Builder

11.07.2025 by William Lam // 1 Comment

VCF Operations has long supported the ingestion of custom metrics and data through custom management packs, typically created by 3rd party vendors. While users can build their own custom management packs, it was a non-starter for many due to the development background required.

The newly integrated VCF Operations Management Pack Builder provides a no-code solution that can connect to any REST-based API endpoint, making it trivial to bring in custom metrics and associating that with existing or new objects within VCF Operations.


My recent purchase of a Kasa Smart Plug for energy monitoring gave me the perfect opportunity to use the VCF Operations Management Pack Builder!

Long story short, Kasa does not provide any public APIs to access their smart devices, but the open-source community has reversed engineer their protocol and built a python library called python-kasa allowing users to interact with their Kasa smart devices.

[Read more...]

Categories // VCF Operations, VMware Cloud Foundation Tags // VCF 9.0

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

  • « Previous Page
  • 1
  • 2
  • 3
  • 4
  • …
  • 590
  • 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
  • Mastodon
  • Reddit
  • RSS
  • Twitter
  • Vimeo

Recent

  • Realtek Network Driver for ESXi 11/12/2025
  • Quick Tip - Configure Nested ESX Cores per CPU for Optimal Licensing 11/11/2025
  • Quick Tip - VCF 9.0.1 upgrade files now available on Broadcom Support Portal (BSP) 11/10/2025
  • Auditing ESX DCUI Logins 11/10/2025
  • Capturing Kasa Smart Plug Power Metrics using VCF Operations Management Pack Builder 11/07/2025

Advertisment

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 © 2025

 

Loading Comments...