PowerCLI

 View Only
  • 1.  Get-EsxCli -VMHost "myHost.fqdn" -V2 return nothing on some ESX

    Posted Mar 26, 2025 10:53 AM

    Hello all,

    does anyone have an idea why Get-EsxCli -VMHost "myHost.fqdn" -V2 return nothing for some ESX.

    Thanks



  • 2.  RE: Get-EsxCli -VMHost "myHost.fqdn" -V2 return nothing on some ESX

    Posted Mar 26, 2025 05:59 PM

    I can add that i have tested on 3 new ESX in v8.0.2, 23305546, on 2 ESXi no namespace found, on the third it's ok.

    And when I try esxcli directly on ESX, same result.




  • 3.  RE: Get-EsxCli -VMHost "myHost.fqdn" -V2 return nothing on some ESX

    Posted Mar 27, 2025 04:37 AM

    Hi 

    You can user following powershell cli command instead of:

    Get-VMHost -Name "myHost.fqdn" -Verbose




  • 4.  RE: Get-EsxCli -VMHost "myHost.fqdn" -V2 return nothing on some ESX

    Posted Mar 27, 2025 11:50 AM

    Agreed, I usually often do it like this:
    $EsxCli = Get-EsxCli -VMHost (Get-VMHost -Name "myHost.fqdn") -V2