Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, logon scripts, 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: 22

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: 91

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: 35

Show GPO logon scripts 1.4.9

Run gpresult for the selected user to get a list of scripts that ran at logon and show where they are located, including the containing GPO's name and GUID, so that it is easy to view the script contents with a view to troubleshooting, optimising, etc. It also shows the size of the script, any parameters passed to it and when it was last modified tags:Group Policy,Logon Duration,Logon Scripts
Created: 2018-10-05
Modified: 2018-11-20
Creator: Guy Leech
Downloads: 443