Script library

Boost your management, troubleshooting and remediation capabilities with scripts created by experts in the IT community.

Show running drivers with different versions on two different systems and also show drivers that exist on one but not the other.
Also compares OS hotfixes between the two systems and shows any differences.
The account that runs the script must have remote WMI/CIM permission to the other machine.
View Script
Version: 1.1.9  •   Created: 2024-02-01  •   Modified: 2024-02-25
Checks for services and scheduled tasks that are configured to run using domain accounts. For such accounts, the script reports the password expiry date.
Use cases:
1) detecting expiry of accounts used for services, so that the account password may be renewed
2) detecting the use of domain accounts, as opposed to managed service accounts
View Script
Version: 1.1.12  •   Created: 2024-01-22  •   Modified: 2024-02-25
Reports or changes the host disk caching mode for the OS disk on an Azure VM.
With disk caching enabled, VMs can achieve higher levels of performance.
The VM does not need to be powered off and the change will have no noticeable effect on user's currently using that VM.
View Script
Version: 1.0.11  •   Created: 2023-11-28  •   Modified: 2024-01-26
Send events to the ServiceNow Events Management interface for tracking free space events
View Script
Version: 1.31.35  •   Created: 2023-11-24  •   Modified: 2024-01-26
Send events to the ServiceNow Events Management interface for tracking free space events
View Script
Version: 1.31.36  •   Created: 2023-11-24  •   Modified: 2024-02-27
Use the change logon command to change the drain mode to one of the allowed values

QUERY
ENABLE
DISABLE
DRAIN
DRAINUNTILRESTART
View Script
Version: 1.0.3  •   Created: 2023-11-15  •   Modified: 2024-03-24
Get and display Parallels RAS session information.
Run on a Connection Broker and as a user who has CU stored credentials on the machine where the script will run.
View Script
Version: 1.0.7  •   Created: 2023-11-14  •   Modified: 2024-03-24
Searches one or more Azure Tenants for Certificates and Client Secrets. The script reports on all credentials discovered, with their expiry date and a 'hint' that identifies the secret.
If expired or soon-to-expire credentials are discovered, an event log is written - this can be used as a trigger to generate an alert
The Application specified in the credential set must have the following permissions:
Application.Read.All (mandatory) - to read the secret metadata attached to the application
User.Read.All (mandatory) - to report the owner name and contact details
Directory.Read.All (optional) - to report the tenant name
View Script
Version: 2.0.20  •   Created: 2023-11-09  •   Modified: 2024-03-24
Show the status of all Parallels RAS agents.
Run on a Connection Broker and as a user who has CU stored credentials on the machine where the script will run.
View Script
Version: 1.0.7  •   Created: 2023-11-07  •   Modified: 2024-03-24
Requests a certificate from a enterprise certificate authority and automatically binds it to port 443 of the IIS Default Site.
View Script
Version: 2.2.7  •   Created: 2023-10-06  •   Modified: 2023-10-31
  • 2
  • of 45