Hi All,
Is there any way that we can establish multiple Connections to vCenter using same session with Powercli.
As connect-viserver -server "vcenter1" -user domain\domainacnt -password "Password"
is establishing multiple connections and we want to limit it, as we are in progress of developing web based Report generation using Powercli with IIS.
Please suggest.
You can use the Session parameter on the Connect-VIServer cmdlet.
I use this for PowerShell Workflows, see PowerCLI and PowerShell Workflows
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi, Plz check if this blog helps http://blogs.vmware.com/PowerCLI/2011/09/list-and-disconnect-vcenter-sessions.html
Hi Kanishks,
I have looked into this earlier, it will list out the currently connected sessions for vCenter.
But my requirement is how to connect to existing session of vCenter using Powercli.
Thanks for your support.
You can use the Session parameter on the Connect-VIServer cmdlet.
I use this for PowerShell Workflows, see PowerCLI and PowerShell Workflows
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Thanks Lucd.
It's working.