Script Library

Order by
Showing controlup scripts that tagged 'citrix gateway, hardware, uptimeindays, ip blocking' ordered by Date

Redirect URLs to 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 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

Check for Citrix ADC CVE-2019-19781 Vulnerability mitigation 2.2.9

this Script Action checks if the suggested mitigation responder policy is configured and globally bound on the Citrix ADC or Citrix Gateway appliance as described in Citrix knowledgebase article CTX267679 ( Note: This Script Action does not perform the suggested mitigation for the management interfaces as it may break administration access. tags:NetScalers, Citrix ADC, Citrix Gateway, Vulnerability, Mitigation,
Created: 2020-01-01
Modified: 2020-01-08
Creator: ebarthel
Downloads: 85

Show computer CPU details 1.4.7

This script returns the details of the target machine CPU(s) as reported by the OS via WMI, including properties like max clock speed, revision, and status. Use the Verbose option for extra details. tags:cpu,hardware
Created: 2018-12-02
Modified: 2018-12-17
Creator: Ton de Vreede
Downloads: 127

Schedule reboot 2.5.10

Schedule a reboot for a number of minutes/hours in the future by creating a scheduled task which runs once only. By default the reboot will not occur if there are logged on users or disconnected sessions in existence at the scheduled reboot time. This script will not message users, log them off or prevent further logons from occurring. Arguments: Minutes:hours - the number of hours/minutes in the future at which to schedule the reboot, e.g. 2:30 for 2 hours and 30 minutes in the future (default is 30 minutes) Force - if set to true then the reboot will occur even if there are connected or disconnected user sessions at the time of the reboot (default is false) Reason for Reboot - optional text which be placed in the event log tags:$Uptimeindays,$Uptimeindays>="8"
Created: 2018-09-29
Modified: 2018-12-13
Creator: Guy Leech
Downloads: 66