hi
I have downloaded and installed powercli VMware-vSphere-CLI-6.0.0-2503617 .exe
It installs a link on my start menu but it fails when i open it
'"C:\Program Files (x86)\VMware\VMware vSphere CLI\perl\bin"' is not recognized as an internal or external command,
operable program or batch file.
think I am missing something here ?
That must be problem with the missing files. just uninstall and reinstall the package. hope it will help.
tried that twice
when i look at the shortcut in the target field i have
C:\Windows\SysWOW64\cmd.exe /K ""C:\Program Files (x86)\VMware\VMware vSphere CLI\perl\bin" "C:\Program Files (x86)\VMware\VMware vSphere CLI\bin""
looks wrong to me !
If yours is working what do you have in there
AlexsYB okay now i got it. Did you have powershell installed in your machine or not. if not install it too. as there are quite component which run with the support of powershell.
once you get it resolved . changed the path to below or reinstall the powercli. it will work after that for sure.
my path are.
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe -noe -c ". \"C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1\""
Hi
Yes and no
Seems like I have typed the header wrong.
I have the powershell vmware cli installed, but I also have the vsphere cli, which is the one I am having issues with !
10/06/2015 02:15 PM <DIR> .
10/06/2015 02:15 PM <DIR> ..
10/06/2015 01:59 PM <DIR> VMware vSphere CLI
29/05/2015 09:15 PM 2,484 VMware vSphere Client.lnk
10/06/2015 02:16 PM <DIR> VMware vSphere PowerCLI
Sorry, I believe the powershell vmware cli stuff is okay
Since I just went through this myself, I'll document my solution here.
The startup shortcut is missing reference to a batch file, vcli.bat, that sets additions to the PATH variable. The batch file itself is also missing.
Here's what the Target for the startup shortcut SHOULD be:
C:\Windows\SysWOW64\cmd.exe /K ""C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vcli.bat" "C:\Program Files (x86)\VMware\VMware vSphere CLI\bin" "C:\Program Files (x86)\VMware\VMware vSphere CLI\perl\bin""
The contents of C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vcli.bat
should be:
@echo off
set vclipath=%1
set perlpath=%2
set path=%path%;%vclipath%;%perlpath%