Script Library

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

<< Back to Script Library

Tag: $User

(8 Scripts)
Displays a Toast notification on the users'desktop (Windows 10/Server 2016 or higher only). Designed to be used as an automated action with client metrics requiring ControlUp 8.5 or higher.
Take a copy of the script and either use as a regular SBA, or set the defaults in the Param() block so it can be used in an automated action. If you are using the standard parameters setting default values for these will also allow use in an automated action.
Version: 2.4.27  |   Created: 2021-05-12  |   Modified: 2022-02-08  |   Creator: Guy Leech  |   Downloads: 100
This is an example of how the 'Show message dialogue' script can be tailored for a specific use case.
_ClientMetric1 has been set to the Memory (Working Set) from ControlUp and the message includes this metric.
Use WPF to display a modal dialogue in a user's session with a message, optional title, and solid colour background.
Take a copy of the script and either add parameters to use as a regular SBA, or set the defaults in the Param() block so it can be used in an automated action. If you have created parameters, setting default values for these will also allow use in an automated action.
Unless -showForSeconds is specified and the value is less than the script timeout, it will timeout and show an eror but if no other errors are shown, the message will have been displayed
Version: 1.11.48  |   Created: 2021-05-07  |   Modified: 2022-02-07  |   Creator: Guy Leech  |   Downloads: 39
Use WPF to display a modal dialogue in a user's session with a message, optional title, and solid colour background.
Take a copy of the script and either add parameters to use as a regular SBA, or set the defaults in the Param() block so it can be used in an automated action. If you have created parameters setting default values for these will also allow use in an automated action.
Unless -showForSeconds is specified and the value is less than the script timeout, it will timeout and show an eror but if no other errors are shown, the message will have been displayed
Version: 1.11.38  |   Created: 2021-05-07  |   Modified: 2022-02-08  |   Creator: Guy Leech  |   Downloads: 58
Gets a Users AD group membership
Version: 1.3.8  |   Created: 2019-04-11  |   Modified: 2019-04-11  |   Creator:   |   Downloads: 587
Add User(s) to a group.
Make sure to configure the script's security context to run on a computer that has the ActiveDirectory Powershell module installed.
See https://www.microsoft.com/en-us/download/details.aspx?id=45520 under Install Instructions.
Version: 3.1.5  |   Created: 2019-02-21  |   Modified: 2019-07-08  |   Creator:   |   Downloads: 68
Deletes all files and folders in user TEMP folder.
Version: 2.2.14  |   Created: 2017-08-23  |   Modified: 2019-07-02  |   Creator: Andy Gresbach  |   Downloads: 494
This SBA will unpublish an App-V package for the current user
Version: 2.4.5  |   Created: 2015-06-19  |   Modified: 2022-10-12  |   Creator: Nathan Sperry  |   Downloads: 99
This SBA will publish the package to the current user
Version: 2.5.11  |   Created: 2015-06-19  |   Modified: 2022-10-12  |   Creator: Nathan Sperry  |   Downloads: 130