Try the following on a client where you have PowerShell v3 installed.
import-moduleCimCmdlets
$ipaddress="192.168.1.1"
$HostUsername="root"
$CIOpt=New-CimSessionOption-SkipCACheck-SkipCNCheck-SkipRevocationCheck-EncodingUtf8-UseSsl
$Session=New-CimSession-AuthenticationBasic-Credential$HostUsername-ComputerName$Ipaddress-port443-SessionOption$CIOpt
Get-CimInstance-CimSession$Session-ClassNameCIM_ServiceAccessPoint|
Where {$_.SystemName-match"Management"} |SelectIPv4Address
The $ipaddress variable should contain the IP address of the ESXi server.
You'll be prompted to provide the root password when the CIM session is established.