Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, logon scripts, ip blocking, citrix studio' 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

Show Citrix Studio administrators 1.6.11

Recurses AD groups found to show all user accounts with any access to Citrix Studio. Needs to be run using an account that has at least read-only Studio access. Use it to see exactly which users have access and what level. Arguments: User Name to Query - an optional username or regular expression to restrict the display to If a name is specified as a parameter then only that account is reported on tags:Citrix,XenApp,XenDesktop,Citrix Studio
Created: 2018-10-24
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 38

Show GPO logon scripts 1.4.9

Run gpresult for the selected user to get a list of scripts that ran at logon and show where they are located, including the containing GPO's name and GUID, so that it is easy to view the script contents with a view to troubleshooting, optimising, etc. It also shows the size of the script, any parameters passed to it and when it was last modified tags:Group Policy,Logon Duration,Logon Scripts
Created: 2018-10-05
Modified: 2018-11-20
Creator: Guy Leech
Downloads: 459