10 Jun 2013
Rate this item
(1 Vote)

 After updating my View environment to version 5.2, I noticed that my PowerCLI scripts that I run on the View Connection Server keep failing. After looking into the issue I found that each script execution fails when trying to load the snap-in for View PowerCLI into PowerShell with the following error:

"Add-PSSnapin : Cannot load Windows PowerShell snap-in VMware.View.Broker because of the following error: The Windows PowerShell snap-in module C:\Program Files\VMware\VMware View\Server\bin\PowershellServicesCmdlets.dll does not required Windows PowerShell snap-in strong name PowershellServiceCmdLets, Version=5.1.0.12315, Culture=neutral, PublicJeyToken=null"

To resolve the issue, the new PowershellServiceCmdlets.dll file installed during the View Connection Server update, needs to be registered with Windows PowerShell .

To register the file, open a new Windows PowerShell prompt and run the following script:

“C:\Program Files\VMware\VMware View\Server\Extras\PowerShell\add-snapin.ps1”

Read more...

@VisualStudio So far so good. The latest release of VS2019CE is singing along nicely. VS has always been an impress… https://t.co/hwBLMTNrhq
Follow Rynardt Spies on Twitter