Skip to main content

Posts

Showing posts with the label PowerCLI

Set Horizon View Pool Entitlements Using Powershell Script

If you have a Horizon View environment were you need assign a large number of users or have a high turn over rate in some of your pools you will not want to use the GUI to do this task. As we all know using the GUI takes a very long time to do this task. Requirements needed to run this script: Horizon View Environment must be running version 7.0.2 or newer PowerCLI Advanced Functions (Hv.Helper) Module - ( Download ) Text file with user names to be added to the pool Below is the script to do this task. 1: # ========================================================================================================= 2: # 3: # NAME: HorizonView_New_Entitlement.ps1 4: # 5: # AUTHOR: Troy Peters 6: # 7: # This will set a new user entitlement for a desktop pool 8: # 9: # 10: # ========================================================================================================= 11: # ======================== Import Modules ======================== ...

Automation with Horizon View Post 7.0.2 Version

If anyone has been working with Horizon View for a long time you will remember that prior to Horizon View version 7.0.2 you had to run powershell commands for Horizon View on the local connection server or use powershell remoting. Now with Horizon 7.0.2 and newer you can run powershell commands using PowerCLI from a remote system. In this blog I will go over the requirements needed, how to get started, examples, and some resources that you can use to expand what is covered here. What is PowerCLI: PowerCLI is a powerful command-line tool based on Windows PowerShell that lets you automate all aspects of vSphere vSAN, SRM, VROPS, vCloud, and Horizon View. within PowerCLI is 100's of cmdlets to be used to create the automation. VMware PowerCLI - Horizon Module allows for integrated powershell support for Horizon View and is shipped as a module with the PowerCLI product. This allows access to the full Horizon View public API and supports remote connections from workstations or serv...