mearldanner
Contributor
Contributor

For my Windows 8.1 it was the Powershell version.

It needs to be running Powershell version 2.

I created a cmd file with the following:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -version 2 -psc "C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\vim.psc1" -noe -c ". \"C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1\""

The shortcut cannot be edited because the "version 2" option takes the string past the 260 character limit.

I also had to go into Task bar properties and increase the number of items in the jump lists to 10.

View solution in original post

Reply
0 Kudos