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
You are here: Home / PowerCLI / 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.

Categories // PowerCLI, 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

  • Disable HTTP Range Requests on Synology WebStation, Apache or Nginx 01/14/2026
  • Quick Tip - Correlating VCF Component to Bundle ID/Name 01/08/2026
  • TLS Chain of Trust when using SSL Inspection with VCF Download Tool (VCFDT) 01/07/2026
  • Quick Tip - Reset vCenter Server from previously managed VCF Operations for VCF Single Sign-On (SSO) 01/06/2026
  • Running VCF Download Tool (VCFDT) on Apple macOS 01/05/2026

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

 

Loading Comments...