Could you please advise on how to resolve the error:
Cannot find the environment browser for VMHost with Id: xxxx
When trying to add a new Network Adapter to a VM using PowerCLI, I encounter the following error:
New-NetworkAdapter: 8/27/2025 4:18:57 PM New-NetworkAdapter Cannot find the environment browser for VMHost with Id: 'HostSystem-host-****'.
The command I am trying is:
Get-VM [VM Name] | New-NetworkAdapter -NetworkName [Network Name] -WakeOnLan -StartConnected
Both the specified VM name and network name exist.
I found a similar case here, but I am not sure if it is still an unresolved issue:
https://stackoverflow.com/questions/60383633/beginner-issues-with-powercli-multiple-arrays-for-loops?utm_source=chatgpt.com
The version of PowerCLI I am using is:
PowerCLI Version
----------------
VCF.PowerCLI 9.0.0 build 24798382
---------------
Component Versions
---------------
VMware Common PowerCLI Component 13.4 build 24798382
VMware Cis Core PowerCLI Component PowerCLI Component 13.4 build 24798382
VMware VimAutomation VICore Commands PowerCLI Component PowerCLI Component 13.4 build 24798382
If you know a solution or workaround for this issue, I would greatly appreciate your guidance.
Thank you in advance.