Sorry for responding late. I dont see any output when I run $globalHCXServers. Surprisingly, I am able to run connect-hcx server but not able to run any get commands against HCX
Not sure what does that mean. But, liked I mentioned earlier, all commands are working except Get ones. Seems like even after connect, it doesn't store in defaulthcxserveror defaulthcxservers variable. Any suggestion to fix or workaround ?
There‘s a communities page for HCX that you can move this to.
Does your configuration already have a Service Mesh? Or only an HCX Manager?
Could this be a problem between PS, PCLI, and the HCX Module? Are you able to try on another machine with a fresh install of these 3 components. I recall having some weirdness with HCX and PCLI. I think I stripped it all out and reinstalled it all.