Script library

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

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
This script is intended to be used to sync the Solve users, based on the membership of the specified AD Security group.
View Script
Version: 2.3.7  •   Created: 2023-09-06  •   Modified: 2023-10-26
Report user assignments for all configured AppMasking applications on this machine
View Script
Version: 2.2.6  •   Created: 2023-08-16  •   Modified: 2023-08-16
Reports application assignments for this selected user on configured AppMasking applications on this machine
View Script
Version: 3.2.10  •   Created: 2023-08-16  •   Modified: 2023-10-26
Lists the FSLogix AppMasking Rules on the machine
View Script
Version: 2.2.3  •   Created: 2023-08-16  •   Modified: 2023-09-11
Get the number of times an event has been registered in the Windows event log since the system has booted.
This can be used to decide whether to reboot a system to bring it back into a "healthy" state.
View Script
Version: 1.0.4  •   Created: 2023-06-09  •   Modified: 2023-06-23
  • 2
  • of 44