Display DLLs loaded by process

Version: 1.0.2 Creator Name: ControlUp Support Date Created: 2014-04-01 Date Modified: 2014-04-01 Scripting language: PS Download Count: 393 For every selected process, displays the list of DLLs currently loaded Try { $Modules = (Get-Process -PID $args[0] -ErrorAction Stop).Modules } Catch { $_ | fl * Exit 1 } $Modules | ft FileName

IE: URLs

Version: 4.7.26 Creator Name: Zeev Eisenberg Date Created: 2014-01-27 Date Modified: 2014-03-18 Scripting language: PS Download Count: 615 Retrieves process IDs and the URLs associated with them. Assigned to a session. This script does not fully support published applications. (Published Apps will not show the actual URL.) You may also get unusual or no results if IE is at a site […]

IE: URL for specific PID

Version: 4.5.24 Creator Name: Zeev Eisenberg Date Created: 2014-01-27 Date Modified: 2014-03-18 Scripting language: PS Download Count: 606 Show the URL for a given IE process. This script does not fully support published applications. (Published Apps will not show the actual URL.) You may also get unusual or no results if IE is at a site which uses Unicode characters. The […]

PowerShell example 1

Version: 3.0.5 Creator Name: Zeev Eisenberg Date Created: 2013-12-31 Date Modified: 2014-02-23 Scripting language: PS Download Count: 215 Here are some tips and ideas for structure for writing PowerShell scripts in ControlUp! The Script # suggested template for PowerShell scripts <# Error trapping may be more useful here than what is used normally. A PoSh script can exit 'successfully' even when […]

PowerShell example 2

Version: 1.0.3 Creator Name: Zeev Eisenberg Date Created: 2013-12-31 Date Modified: 2013-12-31 Scripting language: PS Download Count: 279 This is one way to write a PowerShell script for ControlUp. The Script <# If you are interested in using commands like Write-Verbose that need [CmdletBinding()] or using parameter validation techniques, you must use the position arguments in order to process any ControlUp-provided [&hel...

Add Server to a XenApp Worker Group

Version: 3.2.13 Creator Name: Zeev Eisenberg Date Created: 2013-12-30 Date Modified: 2014-02-18 Scripting language: PS Download Count: 164 Adds the selected XenApp server(s) to a Worker Group The Script <# .SYNOPSIS     Add the server to a XenApp Worker Group .PARAMETER WorkerGroupName    The name of the Worker Group .PARAMETER ServerNames    The name of the server to add to […]

Add to a group

Version: 4.0.6 Creator Name: Zeev Eisenberg Date Created: 2013-11-25 Date Modified: 2014-02-18 Scripting language: PS Download Count: 204 Adds the selected user(s) to an Active Directory group or groups The Script <# .SYNOPSIS     Adds the selected user(s) to an Active Directory group or groups .PARAMETER UserName    The name of the user to be added to the group - […]

Disable XenDesktop Maintenance Mode

Version: 7.10.29 Creator Name: Zeev Eisenberg Date Created: 2013-11-24 Date Modified: 2014-02-19 Scripting language: PS Download Count: 214 Disable XenDesktop maintenance mode for the selected computer(s) <# .SYNOPSIS    Disable XenDesktop maintenance mode for the selected computer(s). .PARAMETER Identity    The name of the server being taken out of maintenance mode - automatically supplied by CU #> $ErrorA...

Reset User Password

Version: 3.0.6 Creator Name: Zeev Eisenberg Date Created: 2013-11-24 Date Modified: 2014-02-20 Scripting language: PS Download Count: 225 Resets the password for the Active Directory account of the selected user. Best to run this on one user at a time unless you want to assign the same password to all target accounts. <# .SYNOPSIS     Resets the password for the […]

Unlock Account

Version: 2.0.3 Creator Name: Zeev Eisenberg Date Created: 2013-11-24 Date Modified: 2014-02-20 Scripting language: PS Download Count: 291 Unlocks the Active Directory account of the selected user(s). This can be run on any computer with the AD PowerShell module installed. <# .SYNOPSIS     Unlocks the Active Directory account of the selected user(s). .PARAMETER User     Specifies an Active Directory […]

Enable Account

Version: 3.0.6 Creator Name: Zeev Eisenberg Date Created: 2013-11-24 Date Modified: 2014-02-19 Scripting language: PS Download Count: 151 Enables the Active Directory account of the selected user(s) <# .SYNOPSIS     Enables the Active Directory account of the selected user(s) .PARAMETER Identity    The name of the user being enabled - automatically supplied by CU #> $ErrorActionPreference = "Stop"...

Enable XenDesktop Maintenance Mode

Version: 6.0.8 Creator Name: Zeev Eisenberg Date Created: 2013-11-24 Date Modified: 2016-02-22 Scripting language: PS Download Count: 178 Enable XenDesktop maintenance mode for the selected computer(s). Highlight the target VMs, but run it on the broker for the VMs. <# .SYNOPSIS    Enable XenDesktop maintenance mode for the selected computer(s). .PARAMETER Identity    The name of the server being enabled - [&h...