Posted By Amir Harel
December 31, 2013
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 […]
Posted By Amir Harel
December 31, 2013
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...