I am exeucting following line from https://www.altaro.com/vmware/esxi-ilo-idrac-powercli/
Get-VMHostWSManInstance –Vmhost (Get-VMhost ESX01.tglab.lcl) –IgnoreCertFailures –Class OMC_IPMIIPProtocolEndpoint
but I am getting winrm error message
Get-WSManInstance : The client cannot connect to the destination specified in the request. Verify that the service on the destination is running and is accepting requests. Consult the
logs and documentation for the WS-Management service running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the
destination to analyze and configure the WinRM service: “winrm quickconfig”.
At line:3 char:1
+ Get-WSManInstance -ConnectionURI (“https`://” + $h.Name + “/wsman”) – …
+ CategoryInfo : InvalidOperation: (:) [Get-WSManInstance], COMException
+ FullyQualifiedErrorId : Exception,Microsoft.WSMan.Management.GetWSManInstanceCommand
i can able to see wsman is enabled and service is started in esxi what could be issue?