[DPP] vSphere Subscription and Cloud Services

 View Only
  • 1.  Cores Count

    Posted Jul 16, 2024 05:47 PM

    Hi Team,

    Unable to find the script towards core counting in the environment from the below URL, 

    Import-Module : The specified module '.\FoundationCoreAndTiBUsage.psm1 was not loaded because no valid module file was found in the module directory - could not able to find the download patch for FoundationCoreAndTiBUsage.psm1 module.

    Counting Cores for VMware Cloud Foundation and vSphere Foundation and TiBs for vSAN

    Broadcom remove preview
    Counting Cores for VMware Cloud Foundation and vSphere Foundation and TiBs for vSAN
    VCF and vSphere Foundation subscription capacity is based on the total number of physical CPU cores of each CPU on all the ESXi hosts associated with the VCF instances or vCenter Server that customers plan to license with VCF or vSphere Foundation, respectively. Customers must purchase a minimum license capacity of 16 cores per CPU.
    View this on Broadcom >

    Error Code is 



  • 2.  RE: Cores Count

    Posted Jan 27, 2025 09:24 AM

    Hi there,

    I've seen this issue before, and it usually comes down to a couple of common things. Here's how you can sort it out:

    1. Check if the file exists

    First, make sure the FoundationCoreAndTiBUsage.psm1 file is actually in the directory you're pointing to. You can quickly check with:

    powershell
    Test-Path .\FoundationCoreAndTiBUsage.psm1

    If it returns False, the file is missing. You'll need to download it or place it in the correct folder.

    2. Download the module

    If you don't already have the module, you'll likely need to grab it from VMware's documentation or Broadcom's resources. If it's not publicly available, I'd recommend reaching out to VMware support to get a copy.

    3. Import it using the full path

    If the file exists but it's still not working, try importing it with the full path like this:

    powershell
    Import-Module "C:\Full\Path\To\FoundationCoreAndTiBUsage.psm1"

    4. Check permissions

    Sometimes it's just a permissions issue. You can loosen the execution policy temporarily to test:

    powershell
    Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

    Remember to set it back to Restricted once you're done for security.

    5. PowerShell version

    It's worth checking if your PowerShell version is compatible. Run:

    powershell
    $PSVersionTable.PSVersion

    If it's an older version, updating PowerShell might solve the problem.

    6. Dependencies

    Lastly, the module might rely on other files or modules. You can open the .psm1 file in a text editor and check if it's calling anything else. If it is, make sure those dependencies are also available.