View 5.0: View PowerCLI
Recently from my previous post, I have upgraded my home lab to VMware View 5.0. Everytime seems working. For those who ain't aware, my ISP issue dynamic IP. In such, I created a domain name from dyndns.org. As to match my external IP to my View Security Server with my external dns name, I would need to use a script which was found from the source below. I did some modification to suit my environment and corrected some mistake. Below is my script. However in View 5.0, it has to be launch using the View PowerCLI and Add-PSSnapin VMware.View.Broker is no long working anymore. (which it did in View 4.6). This was documented in VMware KB 1034652 . A quick check with the View PowerCLI properties from Start Menu, I realize it is calling a powershell script from C:\Program Files\VMware\VMware View\Server\extras\PowerShell\add-snapin.ps1 so in such I added the change in my script as you can see. This was documented Now my script is running fine again...