Hi Luc ,
I am trying to connect to one ip address of vcenter (no dns record made for that ip)and gets following error.
That's an old version, I would strongly suggest to upgrade.
If you are worried about compatibility, check the matrix.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
One of the things you might check is the Proxy settings for PowerCLI?
Do a Get-PowerCLIConfiguration and perhaps try setting the ProxyPolicy to No Proxy.
Unless of course there is a proxy between your station and the vCenter.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
proxy set to no proxy but still same error .
and webclient also does not connect .
Do you have proxy settings on the machine from where you do the Connect-VIServer and start the browser with the Web CLient?
If yes, try removing those.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
if i connect to esxi host on which this vcenter is running .
store vcenter vm in variable .
and try to find it properties and methods will it know its a vcenter vm and can give license info????
I don't think that will work
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
no proxy is configred .also i can connect to esxi host .
What does Get-PowerCLIConfiguration show?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
There should be 3 lines, for the 3 scopes
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
nothing else i see there .this is what get-powercliconfiguration displayed.
Strange, normally you should see something like this
Are you sure that you have a clean, up-to-date PowerCLI installation?
Do this
where{$_.Name -match 'VMware'} | Select Name,Version,Caption
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I am checking this .Thanks.
Modules are there but I m not able to run power cli commands from power shell.
adding ps snapin
Do you still have PSSnapin, that means you have a rather old version of PowerCLI.
What does Get-PowerCLIVersion say?
I would advise to upgrade.
See Welcome PowerCLI to the PowerShell Gallery – Install Process Updates
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Actually import-module as it is powercli 6.5.
That's also an older version.
Can you show the output of the snippets I gave earlier?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That's an old version, I would strongly suggest to upgrade.
If you are worried about compatibility, check the matrix.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks I am going to upgrade to 10.11.did not notice that new release came in April.