Script Library

Order by
Showing controlup scripts that tagged 'user profiles, maintenance' ordered by Date

Set host state to maintenance 1.4.10

Placing a host in Maintenance will migrate the powerred on VMs to other hosts in the cluster. If the Evacuate switch is passed all offline machines a migrated too. This script will only place a host in Maintenance if the cluster it is part of is DRSFullyAutomated. If the host uses a VSAN and the PowerCLI version is high enough the default VsanEvacuationMode setting will be used. This is only supported with PowerCLI 6 or higher. tags:vsphere,host,maintenance,vmware
Created: 2019-02-21
Modified: 2019-03-31
Creator: Ton de Vreede
Downloads: 22

Show or delete local user profiles 2.4.20

Finds and optionally deletes local user profiles. The user can provide two arguments - the minimum profile age in days and the minimum profile size. The default operation mode is to display the profiles that fit these criteria. When the "Delete" option is set to "true", the script will delete the profiles it found. tags:user profiles,disk space,vdi,rds,citrix
Created: 2018-12-26
Modified: 2020-06-10
Creator: Guy Leech
Downloads: 59

List all XenDesktop VMs in Maintenance Mode 1.3.8

This script will list all the VMs in a specific XenDesktop site that are listed in maintenance mode in the DDC. It must be run on a XenDesktop broker. The script prompts for and requires at least a XenDesktop read-only admin account. tags:PowerShell, XenDesktop, maintenance mode
Created: 2016-05-04
Modified: 2016-05-05
Creator: Matan Nataf
Downloads: 239

RDS Drain Sessions 1.0.5

Puts RDS hosts into maintenance mode using the chglogon command. The script will disable all new user connections to the server until it is rebooted (existing active connections are not affected). tags:RDS, Maintenance,
Created: 2016-03-07
Modified: 2016-03-07
Creator: david.crook
Downloads: 181

Disable Horizon View Maintenance Mode 2.3.8

Disable Horizon View Maintenance Mode for the selected computer(s). tags:VMware, Horizon,View,PowerShell,PowerCLI, maintenance
Created: 2014-11-26
Modified: 2018-11-29
Creator: Zeev Eisenberg
Downloads: 19

Enable Horizon View Maintenance Mode 2.3.11

Enable Horizon View Maintenance Mode for the selected computer(s). tags:VMware, Horizon,View,PowerShell,PowerCLI, maintenance
Created: 2014-11-26
Modified: 2018-11-29
Creator: Zeev Eisenberg
Downloads: 25