Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, users, disk usage, domain' ordered by Date

Find user account lock out events 1.5.10

Retrieve event id 7470 instances from the security event logs to gives details of the user account, the time and location of the lock out. Can filter a specified number of days back and/or a specific user name tags:domain, lockout, password
Created: 2020-07-24
Modified: 2020-08-04
Creator: Guy Leech
Downloads: 26

Repair machine-domain trust relationship 1.2.7

There are many situations for which a machine (server OS or workstation) will lose domain trust. If the ControlUp agent is installed on the machine, this script will execute locally and repair the domain trust. Domain credentials with permission to reset the computer account must be provided. tags:Citrix,PVS,machine account,domain
Created: 2020-05-06
Modified: 2020-05-07
Creator: marcel.calef
Downloads: 99

Get available space for partition shrink or expand 2.3.10

This script checks all Basic partitions WITH DRIVE LETTERS to see if there is space availbale for shrinking and/or expansion. The following is also checked: - OS Version, this must be Windows 8/Server 2012 as a minimum to use the ControlUp partition expansion script - The Disk Status tags:disk space, disk usage, partition
Created: 2020-03-19
Modified: 2020-03-30
Creator: Ton de Vreede
Downloads: 22

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

Change local group membership 1.4.12

Add or remove domain or local accounts to/from local groups on selected computers. Can either be done immediately or at a given date/time in the future via a scheduled task, e.g. remove specific users from the local admininstrators group in 1 day's time. Arguments: Users - a comma separated list of AD user accounts to add/remove to/from the specified group Local group - the name of the local group which will have the users added or removed Remove from group - if true then the specified users will be removed from the group, if false then the users will be added to the group (default is false) When - If nothing is specified, the action is taken immediately otherwise a scheduled task is created to perform the action at the data/time specified which can also be a number followed by a time unit, e.g. 8h for 8 hours or 1d for 1 day. If specifying a date/time, it must be enclosed in double quotes. tags:Users,Groups,Security
Created: 2018-10-22
Modified: 2018-11-26
Creator: Guy Leech
Downloads: 38