Hello,
We manage a GCVE environment and we connect to the vCenter through an IAP server running in GCP. I would like to run some powercli scripts against the environment but I am unable to connect using the same IAP server. Using the line below in my script, I am able to get a login prompt but I get an error after entering creds, "The ServicePointManager does not support proxies with the socks5 scheme."
[system.net.webrequest]::defaultwebproxy = new-object system.net.webproxy('socks5://localhost:4080')
Does anyone know of a way to properly connect and run scripts through a proxy?