Hi there so I had the vmware powercli version 4.0 cmdlets installed on my windows 7 x64 machine. I then installed the powershell plus x64 3.1 beta. Then I upgraded my vmware powercli version to 4.0 update 1 which includes 10 new cmdlets...
Now the problem is when I type one of the new cmdlets into the console such as
get-vmhosthba it finds the cmdlet but if I click on help I get the following error:
No file matched your query "Get-VMHostHBA".
So I guess powershell plus doesnt read in the help files for the snapins each time it loads.. I tried to run the install and choose repair but it didnt fix the problem.
If I check under Cmdlet Refernce the new cmdlet is not there (obviously) but it is also not under the PSSNapin Reference \ VMware.VimAutomation.Core.
I assume the same behaviour would happen with say the Quest cmdlets too..
Cheers,
Packetboy.
The is caused by upgrading to PowerCLI 4.0 without refreshing the PowerShellPlus cache. To fix this, hold SHIFT down when starting PowerShellPlus. Then, check "Delete all cached data" and press OK. The will cause all currently installed cached information in the Learning Center and code completion database to be updated.
Hi Richard! thanks for the info that fixed it! I must say this ISE is excellent and I will definately be buying a license when 3.1 comes out of beta!
Cheers