VMware Horizon Community
Avial
Contributor
Contributor
Jump to solution

Unable to launch View PowerCLI on View 4.5

Hello,

I got two server running on View 4.5.
I need to use the view cmdlet but each time i'm trying to launch the VMware View PowerCLI, i got the same error on both server.

Add-PSSnapin : The Windows PowerShell snap-in 'VMware.View.Broker' is not installed on this machine.

At D:\apps\VMware\VMware View\Server\extras\PowerShell\add-snapin.ps1:30 char:14
+     add-PSSnapin <<<<  $view_snapin_name
    + CategoryInfo          : InvalidArgument: (VMware.View.Broker:String) [Add-PSSnapin], PSArgumentException
    + FullyQualifiedErrorId : AddPSSnapInRead,Microsoft.PowerShell.Commands.AddPSSnapinCommand

I've try to manually install it.

In the view 45 integration guide : The script configuration file for the View PowerCLI cmdlets is named InitViewCmdlets.ps1.

I can't find this script.

Done multiple reinstallation.

If anyone have an idea

Tags (3)
0 Kudos
20 Replies
BlueMike
Contributor
Contributor
Jump to solution

I had the same issue going from View 7.0 to 7.1.  The answer still applies, but I think it is time to evaluate going more towards the new APIs and the new PowerCLI 6.5 connections.

0 Kudos