Hello
Thanks for quick responce.
i tested your script
i am geting few errors, and it is taking very long time to get output for all servers.
Error 1
Set-PowerCLIConfiguration -DefaultVIServerMode Multiple -Scope User -Confirm:$false
-Scope User -Confirm:$false is not working in my power cli
Error -2
Warning: there were one or more problems with the server Certificate:
* the certification chain processed correctly, but terminated in a root certification wihich isn't trusted by the trust provider.
* the XXXX chain is not validated due to an invalid time value, such as a value that indicates an expired certificate.
* the Certificates CN name does not match the passed value
i am not getting Host names for server for which this warning message appears
@@@@@@
@ can we get required information by querrying VC's Database in less time.
Thanks,