Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, content switching, slack, hosts' 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

Send a Slack Notification 1.18.27

This script will send a notification to a slack channel using the Incoming Webhooks app tags:slack,notifications
Created: 2020-02-21
Modified: 2020-03-04
Creator: Joel Stocker
Downloads: 25

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

Retrieve NetScaler Content Switching Binding information 1.0.1

Retrieve NetScaler Content Switching binding information, using the Invoke-RestMethod cmdlet for the REST API calls. tags:NetScaler, Content Switching,
Created: 2018-07-18
Modified: 2018-07-18
Creator: Esther Barthel, MSc
Downloads: 41