![]() ![]() PowerCLI can be installed through PowerShell (PowerShell version 5 or higher required) by running the command 'Install-Module VMWare.PowerCLI -Force -AllowCLobber -Scope AllUsers' This script requires VMWare PowerCLI and the Vmware.Hv.Helper module to be installed on the machine running the script. ![]() The script uses the target machine to determine the connection server address and the Desktop Pool name, and is executed on the machine running ControlUp Console. This action should be executed against a Horizon endpoint machine (one which has the HZ Primary Connection Server column populated in ControlUp Console) which is part of the relevant Desktop Pool. PowerCLI can be installed through PowerShell (PowerShell version 5 or higher required) by running the command 'Install-Module VMWare.PowerCLI -Force -AllowCLobber -Scope AllUsers' or by using the 'Install and configure VMware PowerCLI'Script ActionĬan be used as an automated or manual action to disable a Horizon Desktop pool for planned maintenance. This script requires VMWare PowerCLI to be installed on the machine running the script. This script requires Horizon Credentials to be set for the account running the scipt on the target machine, these need to be created using the 'Create credentials for Horizon scripts' Script Action The script uses the target machine to determine the connection server address, and is executed on the machine running ControlUp Console. This action should be executed against a Horizon endpoint machine (one which has the HZ Primary Connection Server column populated in ControlUp Console). Output is displayed in the console but also saved to a default location of c:windowstempCU_Horizon_error_log.csv After pulling the events it will translate the id's for the various objects to names to show the proper names where needed. If there is no cloud pod setup it will only process the local pod. Uses the Horizon PowerCLI api's to pull all Error, Warning and Audit_Fail events from the Horizon Event database for all pods. ![]()
0 Comments
Leave a Reply. |