VMware Cloud Community
abarilla
Contributor
Contributor

Connect-VIServer causing two sessions

We are using VI Toolkit 1.5. I have powershell embedded in a Visual Studio 2005 C# project through runspaces. When calling a Connect-VIServer to a 2.5 server it causes two sessions to open only one of which I can disconnect from. This works fine against a 2.0 server. And the login works fine from the standard powershell prompt.

Any ideas?

0 Kudos
2 Replies
LucD
Leadership
Leadership

Perhaps you should upgrade to PowerCLI 4.

Or is there a reason to stick with Vi Toolkit 1.5 ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
abarilla
Contributor
Contributor

I tried this, but it's the same problem.

0 Kudos