Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, patching, ip blocking' 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: 36

MS Patch check for Citrix 3.2.6

This script will check the target computer to see if Citrix's list of recommended Microsoft patches are installed for Windows Server 2012/2012 R2. This helps with Best Practice baselining. tags:Citrix, patching
Created: 2015-10-13
Modified: 2019-09-24
Creator: Zeev Eisenberg
Downloads: 138