Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, users, reboot, provisioning' ordered by Date

Recover Provisioning for Horizon Linked Clone Pool 1.1.3

This script acts when provisioning gets disabled for linked clones desktop pools because the overcommit ratio is set too low. It will calculate the correct ratio and set it to that. After changing the ratio it will enable provisioning and when set to true it can also force a rebalance of the datastores. When using iwth a trigger the Connection Server FQDN and Horizon Pool name need to be configured manually. This script requires VMWare PowerCLI to be installed on the machine running the script. 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 VMware PowerCLI' script. Credentials can be set using the 'Prepare machine for Horizon View scripts' script. tags:horizon, vdi, provisioning, vmware
Created: 2020-04-02
Modified: 2020-04-21
Creator: Wouter Kursten
Downloads: 11

Disable or Enable SSH on an VMware ESXi host 1.2.25

Using PowerCLI, Connect to vCenter and start or stop the SSH service on a host. Notet that , the computer running this script must have PowerCLI, and vCenter credentails are required during script execution. tags:$HypervisorPlatform="VMware",$SSHenabled
Created: 2019-10-04
Modified: 2019-10-04
Creator: mc
Downloads: 37

Change local group membership 1.4.12

Add or remove domain or local accounts to/from local groups on selected computers. Can either be done immediately or at a given date/time in the future via a scheduled task, e.g. remove specific users from the local admininstrators group in 1 day's time. Arguments: Users - a comma separated list of AD user accounts to add/remove to/from the specified group Local group - the name of the local group which will have the users added or removed Remove from group - if true then the specified users will be removed from the group, if false then the users will be added to the group (default is false) When - If nothing is specified, the action is taken immediately otherwise a scheduled task is created to perform the action at the data/time specified which can also be a number followed by a time unit, e.g. 8h for 8 hours or 1d for 1 day. If specifying a date/time, it must be enclosed in double quotes. tags:Users,Groups,Security
Created: 2018-10-22
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 38

Cancel scheduled reboot 1.5.13

Cancel a reboot scheduled via the Schedule Reboot action by finding and deleting the scheduled task created by the Schedule Reboot action tags:Reboot,Schedule
Created: 2018-09-29
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 53

Citrix Provisioning Services 7.8 Farm Check 1.0.9

The following script runs a report against the PVS farm using the latest PowerShell 7.7 and above PowerShell cmdlets. tags:Citrix, Provisioning Services,
Created: 2016-04-13
Modified: 2016-04-22
Creator: Andrew Morgan
Downloads: 281