Script library

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

Showing 375 ControlUp scripts ordered by: Date
Enables the WMI-Activity trace event log for a given period of seconds and then processes any resulting events to show what processes are generating what WMI activity and how long they took.
The summary option will summarise by process and display ordered by the total duration taken by all WMI operations.
Without a summary, each individual WMI operation will be listed along with the actual WMI operation.
The trace event log will be disabled at the end of the trace.
Version: 3.10.21  |   Created: 2022-06-02  |   Modified: 2022-07-07  |   Creator: Guy Leech  |   Downloads: 56
This script gets all the computer devices and checks the status.
Version: 1.1.5  |   Created: 2022-05-23  |   Modified: 2022-05-31  |   Creator: Joel Stocker  |   Downloads: 38
Create the credential files (locally) required by the Azure script actions.
Stored in %ALLUSERSPROFILE%ControlUpScriptingSupport but the client secret stored in the files can only be decrypted by the Windows user that created that file.
The files created contain the tenant id in the file name so that a single Windows user can have credential files for multiple tenants. Original Azure scripts did have this feature and the files contained the tenant id so only a single file can exist - this script creates both credential files so both new and old Azure script actions can be run.
The script willl overwrite any existing credential files for the user and tenant.
Version: 1.1.15  |   Created: 2022-02-24  |   Modified: 2022-03-09  |   Creator: Guy Leech  |   Downloads: 12
This script can be used to watch events being written in the logs on several machines in real-time. For example, if a user logs on to a remote session the events recorded for this on several machines such as the RDS/VDA machine, Storefront and Delivery Controller can all be displayed as they are being written.
Run the script with an account or Shared Credential with sufficient privileges on all targeted machines to read the event logs.
NOTE: this script should be run in the Real-time Console. Due to a dependcy on Gridview it cannot be run in Solve.
Version: 1.3.10  |   Created: 2022-02-07  |   Modified: 2022-02-08  |   Creator: Guy Leech  |   Downloads: 23
Change the type of disk assigned to the Azure VM. Valid disk types are:

Standard_LRS
Premium_LRS
StandardSSD_LRS
UltraSSD_LRS
Premium_ZRS
StandardSSD_ZRS

Note that costs of this VM once updated could be very different.
Version: 2.3.5  |   Created: 2022-01-19  |   Modified: 2022-03-17  |   Creator: Guy Leech  |   Downloads: 9
Gets the PowerShell modules installed/available to the account running the script; with type, version and description. If specified extra details will be displayed.
Version: 1.1.7  |   Created: 2021-12-25  |   Modified: 2021-12-27  |   Creator: Ton.de.Vreede  |   Downloads: 20
This is an example of how the 'Send Slack message on Session condition' script can be used in a Trigger follow up action.
Configure the defaults for your Slack environment and set the script as a follow up action on User Logon on a machine.
NOTE: In Settings the following changes have been made (compared to the 'Send Slack message' script)
Action Assigned to: Session
Execution Context: User Session
Security Context: Default (Session's User)

Sends a message to Slack using an Incoming Webhook with an option to include a clickable button with a URI link. Customize the Message input to use this as an Automated Action for alerts on session metrics.
If you want to include a clickable button with your message the ButtonExplanation, ButtonText and ButtonURI must be provided. If any of these is missing the script will return an error.
Useful for Triggered scripts, fill the title and message with data from the console as required.
This script requires a webhook to be configured in your Slack site. See the link on how to do this: https://slack.com/help/articles/115005265063-Incoming-webhooks-for-Slack
Version: 2.15.44  |   Created: 2021-12-25  |   Modified: 2022-02-08  |   Creator: Ton.de.Vreede  |   Downloads: 4
Example script for an automated action when CPU threshold is exceeded using the 'Send Teams message on machine condition' script.When configured as an automated action triggered from high CPU use a message will be posted in the configured Teams environment, with a button that can be clicked to open the console in the machine location.

Sends a message to Teams using an Incoming Webhook, with an option to include a clickable button with a URI link.Customize the Message input to use this as an Automated Action for alerts on machine metrics.
If you want to include a clickable button with your message, ButtonText and ButtonURI must be provided. If either of these is missing the script will return an error.
Useful for Triggered scripts, fill the Title and message with data from the console as required.
This script requires a webhook to be configured in your Teams site. See the link on how to do this: https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook
Version: 2.3.37  |   Created: 2021-12-25  |   Modified: 2022-02-07  |   Creator: Ton.de.Vreede  |   Downloads: 29
Sends a message to Slack using an Incoming Webhook with an option to include a clickable button with a URI link. Customize the Message input to use this as an Automated Action for alerts on machine metrics.
If you want to include a clickable button with your message the ButtonExplanation, ButtonText and ButtonURI must be provided. If any of these is missing the script will return an error.
Useful for Triggered scripts, fill the title and message with data from the console as required.
This script requires a webhook to be configured in your Slack site. See the link on how to do this: https://slack.com/help/articles/115005265063-Incoming-webhooks-for-Slack
Version: 1.3.25  |   Created: 2021-12-25  |   Modified: 2022-01-04  |   Creator: Ton.de.Vreede  |   Downloads: 10
Sends a message to Slack using an Incoming Webhook with an option to include a clickable button with a URI link. Customize the Message input to use this as an Automated Action for alerts on session metrics.
If you want to include a clickable button with your message the ButtonExplanation, ButtonText and ButtonURI must be provided. If any of these is missing the script will return an error.
Useful for Triggered scripts, fill the title and message with data from the console as required.
This script requires a webhook to be configured in your Slack site. See the link on how to do this: https://slack.com/help/articles/115005265063-Incoming-webhooks-for-Slack
Version: 1.3.25  |   Created: 2021-12-25  |   Modified: 2022-01-04  |   Creator: Ton.de.Vreede  |   Downloads: 11
  • 1
  • of 38