telegraf-utils.ps1 script, the installation fails with the following error :.\telegraf-utils.ps1 product-managed -c <cloud_proxy_ip_or_collector_group_name> -t <token> -v <vmwareariaoperations_ip_or_fqdn> -k 1
wmic : The term 'wmic' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.C:\ProgramData\VMware\UAF\logs\uaf_bootstrap.log may report the following failure:uaf-bootstrap - ERROR - Prerequisite Check Failed. Required patch for Universal C Runtime(CRT) not installed at endpoint. Please refer to Prerequisite section of documentationset EXIT_ERR_CODE-1set EXIT_ERR_ENUM-FAILEDAria Operations 8.x
VCF Operations 9.x
The Telegraf agent installation script relies on the **WMIC** (Windows Management Instrumentation Command-line) utility to gather local system statistics and environment variables during the bootstrap process.
Installation is failing primarily due to the absence of the WMIC (Windows Management Instrumentation Command-line) utility on the Windows Server.
To resolve this issue, you must manually enable or add the WMIC feature on the target Windows server.
DISM /Online /Add-Capability /CapabilityName:WMIC~~~~DISM Capabilities Package Servicing Command-Line Options
Once WMIC is installed, retry the Telegraf installation using the below script command
.\telegraf-utils.ps1 product-managed -c <cloud_proxy_ip> -t <token> -v <aria_ops_fqdn> -k 1