Script Library

Order by
Showing controlup scripts that tagged 'user profiles, email, enable, host' ordered by Date

Redirect URLs to 127.0.0.1 in HOSTS file 1.4.19

This script can be used as a quick way to block access to a URL. The provided URLs (comma separated) are placed in a 'ControlUp' section of the HOSTS file, where they are directed to 127.0.0.1. As a result DNS lookup of these URLs always point to home, essentially preventing access to a website unless you know the IP number. After this the command IPCONFIG /FLUSHDNS is run to clear the DNS cache. tags:ip blocking, hosts
Created: 2020-03-30
Modified: 2020-03-30
Creator: Ton de Vreede
Downloads: 18

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

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: 25

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: 84

Show host NIC details 1.1.10

This script will retreive the physical network adapters of the hypervisor machine and output their details tags:vmware, host, nic
Created: 2018-11-25
Modified: 2019-02-10
Creator: Ton de Vreede
Downloads: 111

APPV5: Enable App-V Client Event Logs 1.2.16

This SBA will enable all the hidden App-V 5 Client event logs under "Show analytic and debug logs", which is useful when trying to troubleshoot issues. tags:App-V, Event Logs, Debugging, Enable,
Created: 2015-06-04
Modified: 2015-06-19
Creator: nathan.sperry
Downloads: 59

Send e-mail 3.1.22

Send an e-mail message to the selected user(s) using Microsoft Outlook. Also requires the AD PowerShell module. tags:Email,PowerShell
Created: 2013-11-24
Modified: 2014-02-20
Creator: Zeev Eisenberg
Downloads: 212