Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, logon scripts, ip blocking, fas' 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 FAS performance counters 1.0.1

This script queries and displays the values of performance counters for the Citrix Federated Authentication Service object. It requires the "CitrixFederatedAuthenticationService" service to exist on the target computer. tags:Citrix,FAS
Created: 2018-11-29
Modified: 2018-11-29
Creator: Samuel Legrand
Downloads: 30

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