Script Library

Order by
Showing controlup scripts that tagged 'sshenabled, patching, administrators, credentials' ordered by Date

Verify if users were added to local Administrators 1.7.8

This script will scan the Security log for evidence of recent changes to the local Administrators group and report whether the required audit policy is configured on the machine. tags:administrators,security,auditing
Created: 2020-06-10
Modified: 2020-06-10
Creator: Marcel Calef
Downloads: 22

Check if user is a Local Administrator 1.5.5

This script will check if the user is part of BUILTIN\Administrators, directly named This script will check if the user is a member of BUILTIN\Administrators, directly named or inherited from other local or domain groups tags:administrators,security,auditing
Created: 2020-06-10
Modified: 2020-06-10
Creator: Marcel Calef
Downloads: 37

Create credentials for Horizon scripts 3.6.12

Connecting to a Horizon Connection server is required for running Horizon scripts. The server does not allow passthrough (Active Directory) authentication. In order to allow scripts to run without asking for a password each time (such as in Automated Actions) a PSCredential object needs to be stored on each target device (i.e. each machine that will be used for running Horizon scripts). This script can create this PSCredential object on the targets. PSCREDENTI Connecting to a Horizon Connection server is required for running Horizon View scripts. The server does not allow passthrough (Active Directory) authentication. In order to allow scripts to run without asking for a password each time (such as in Automated Actions) a PSCredential object needs to be stored on each target device (ie. each machine that will be used for running Horizon View scripts). This script can create this PSCredential object on the targets. PSCREDENTIAL OBJECTS CAN ONLY BE USED BY THE USER THAT CREATED THE OBJECT AND ON THE MACHINE THE OBJECT WAS CREATED. - The User that creates the file is required to have a local profile when creating the file. This is a limitation from Powershell Modification history: 20/08/2019 - Anthonie de Vreede - First version 03/06/2020 - Wouter Kursten - Second version Changelog ; Second Version - Added check for local profile - changed error message when failing to create the xml fileAL OBJECTS CAN ONLY BE USED BY THE USER THAT CREATED THE OBJECT AND ON THE MACHINE THE OBJECT WAS CREATED. tags:horizon,credentials
Created: 2019-12-02
Modified: 2020-09-11
Creator: Ton de Vreede
Downloads: 21

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

MS Patch check for Citrix 3.2.6

This script will check the target computer to see if Citrix's list of recommended Microsoft patches are installed for Windows Server 2012/2012 R2. This helps with Best Practice baselining. tags:Citrix, patching
Created: 2015-10-13
Modified: 2019-09-24
Creator: Zeev Eisenberg
Downloads: 142