WilliamLam.com

  • About
    • About
    • Privacy
  • VMware Cloud Foundation
  • VKS
  • Homelab
    • Resources
    • Nested Virtualization
  • VMware Nostalgia
  • Apple
You are here: Home / Automation / Quick Tip - Inventory core count for vSphere+, vSAN+ & VCF+ Cloud Service

Quick Tip - Inventory core count for vSphere+, vSAN+ & VCF+ Cloud Service

02.07.2023 by William Lam // 3 Comments

vSphere+ and vSAN+ was launched last year as a new cloud service and the unit of consumption are CPU cores, which needs to be determined prior to purchasing a subscription for either cloud services. To help customers inventory their existing vSphere and vSAN CPU core usage, especially useful for general visibility and planning purposes, I had developed a simple PowerCLI function that was published last year as a VMware KB article (89116).

In recent weeks, I had noticed an increased number of inquiries from our field and customers on how to assess their existing vSphere and vSAN environment for transition to vSphere+ and vSAN+ and I realized that many folks may not have been aware of the scripts and the KB article that was available.

Once you have downloaded the PowerCLI script, imported the function and connect to an existing vCenter Server environment, you can then use the Get-vSpherePlusCPUSocketToCoreUsage function which will automatically retrieve all ESXi hosts within your vCenter Server and display the current CPU core usage, vSphere+ Cores and vSAN+ Cores required as shown in the example screenshot below.


In addition, you can also inventory specific vSphere Clusters by using the -ClusterName parameter and output can also be stored in a CSV file by using the -Csv parameter.

For customers interested in inventorying their existing VMware Cloud Foundation (VCF) environment to help plan for their transition to the new VCF+ Cloud Service which was also launched last year, an enhancement has been added to the open source PowerVCF reporting module, which will provide the required CPU cores for use with VCF+ as shown in example screenshot below.


Note: While the PowerVCF reporting module has already merged the enhancement, it has not been published as an official release and you will need to manually download the module if you wish to use this feature right now. If you  can wait, a new release should go out later this month and will also appear in Microsoft PowerShell Gallery.

More from my site

  • Frequently asked scenarios about Subscription & Entitlement for vSphere+, vSAN+ and VCF+
  • Frequently asked scenarios about Global Inventory for vSphere+, vSAN+ and VCF+
  • Frequently asked scenarios about Cloud Consumption Interface (CCI) for vSphere+, vSAN+ and VCF+
  • Frequently asked scenarios about VM Provisioning & Management for vSphere+, vSAN+ and VCF+
  • Frequently asked scenarios about vCenter Lifecycle Management for vSphere+, vSAN+ and VCF+

Categories // Automation, PowerCLI, VMware Cloud, VSAN, vSphere Tags // VMware Cloud, VSAN, vSphere

Comments

  1. *protectedJesse says

    03/13/2024 at 1:38 pm

    Hi William,

    Your powercli function seems to be behind a paywall now. The link takes you to a Workspace One login page. Is there another way to get it?

    Reply
    • William Lam says

      03/13/2024 at 8:07 pm

      I’m seeing same … usually this happens if KB hasn’t been published or has been taken down for updates. Let me see what’s going on

      Reply
    • William Lam says

      03/13/2024 at 8:49 pm

      It’s not behind paywall but rather it’s been taken down as these were for the “plus” services which have been EOA

      The updated scripts for the new offers can be found https://williamlam.com/2024/02/updated-inventory-calculator-scripts-for-counting-cores-tibs-for-vmware-cloud-foundation-vcf-and-vmware-vsphere-foundation-vvf.html

      Reply

Thanks for the comment!Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

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

  • Programmatically accessing the Broadcom Compatibility Guide (BCG) 05/06/2025
  • Quick Tip - Validating Broadcom Download Token  05/01/2025
  • Supported chipsets for the USB Network Native Driver for ESXi Fling 04/23/2025
  • vCenter Identity Federation with Authelia 04/16/2025
  • vCenter Server Identity Federation with Kanidm 04/10/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...