Hi!
I upgraded a test environment from Horizon 7.12 to 8 (2006). After the installation, PowerCLI is missing from the Start menu on the connection server. When I try to run scripts, it complains that PowershellServiceCmdlets.dll is missing. I've looked but found nothing to say that the Horizon PowerCLI has been removed and you must now use the REST APIs. I've tried uninstalling and installing (running the EXE as an administrator), but PowerCLI is still missing from the Start menu, and the dll is still missing from the system.
Has anyone else experienced this? Did I miss something in the documentation that the Horizon PowerCLI is no longer supported?
Thanks a lot!
Thats how you used to do it look at
Automating VMware Horizon 7 with VMware PowerCLI
you don't use ps snapins anymore its modules, and with the latest version of PS you shouldn't even need to do that.
I havcen't tried 2006 yet, but you've been able to install the horizon powercli commands directly from powershell gallery for some time now, so you should be able to install them on your own.
Vmware PowerCLI is installed, but the Horizon-specific command-lets are not available. Specifically, I can no longer "Add-PSSnapin VMware.View.Broker".
Thats how you used to do it look at
Automating VMware Horizon 7 with VMware PowerCLI
you don't use ps snapins anymore its modules, and with the latest version of PS you shouldn't even need to do that.
Bummer. Looks like I have a bunch of scripts to rewrite. Thanks!
This prehistoric snapin wasn't updated since version 5 anyway. RIght now the best option is to use the rest api's but those are far from feature complete so you'll need to use the soap api's that are available in the regular powercli.
Is there any way to successfully run addsnappin.ps1 ? as in 2006, system is unable to find powershellservicecmdlets.dll file.. resulting in affecting view components