Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, event log, 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

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 frequent error events 1.4.8

Show all error events from all event logs on the selected computer, ordered on the most frequent, in the specified time period where there is more than one instance of that specific event. Arguments: Minutes Back - the number of minutes back from the current time to search (default is 60) Log Level - the event log level to search for events (default is Error) Excluded log names - an optional regular expression, e.g. "Application", which will exclude events from any event logs where the event log name matches the regular expression. tags:Error,Event log
Created: 2018-07-09
Modified: 2018-11-21
Creator: Guy Leech
Downloads: 476

Show frequent warning events 1.6.23

Show all warning events from all event logs on the selected computer, ordered on the most frequent, in the specified time period where there is more than one instance of that specific event. Arguments: Minutes Back - the number of minutes back from the current time to search (default is 60) Log Level - the event log level to search for events (default is Warning) Excluded log names - an optional regular expression, e.g. "Application", which will exclude events from any event logs where the event log name matches the regular expression. tags:Warning,Event Log
Created: 2018-07-06
Modified: 2018-11-21
Creator: Guy Leech
Downloads: 94

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