I have two machines, both with PowerCLI 5.1 R1. One machine is Server 2003 with .Net 2.0 SP1, .Net 3.0 SP1, and .Net 4 installed (let's call this server1). The other machine is Windows 7 with .Net 4.5 installed (let's call this workstation1). The machine called server1 is also the vCenter server
When I open PowerCLI on workstation1, it connects just fine. When I open PowerCLI on server1, I receive the following error:
What am I missing?
Thanks.
Install this package, which includes .Net Framework 3.5 but also the latest service packs for 2.0 and 3.0.
http://www.microsoft.com/en-us/download/details.aspx?id=25150
Then I would also go download the security patches for .NET framework from Microsoft, as there have been quite a few released since these versions of .NET were released.
Check this post(http://communities.vmware.com/thread/398412?start=0&tstart=0) and see if it helps
does it behave differently if you run the powercli console as administrator?
From the Release Notes, you need "NET Framework 2.0 with Service Pack 2"
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Install this package, which includes .Net Framework 3.5 but also the latest service packs for 2.0 and 3.0.
http://www.microsoft.com/en-us/download/details.aspx?id=25150
Then I would also go download the security patches for .NET framework from Microsoft, as there have been quite a few released since these versions of .NET were released.