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: 45
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: 16
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: 29
Gets a Users AD group membership
Version: 1.3.8  |   Created: 2019-04-11  |   Modified: 2019-04-11  |   Creator:   |   Downloads: 418
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: 57
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: 359
This SBA will unpublish an App-V package for the current user
Version: 1.2.3  |   Created: 2015-06-19  |   Modified: 2015-11-16  |   Creator: nathan.sperry  |   Downloads: 42
This SBA will publish the package to the current user
Version: 1.3.7  |   Created: 2015-06-19  |   Modified: 2015-11-16  |   Creator: nathan.sperry  |   Downloads: 55