A single pane of glass for real-time monitoring, troubleshooting and remediation across your IT infrastructure
A powerful tool to gain an understanding of your environment’s past behavior, optimization potential and future needs.
See and manage load balancers, gateways, and HDX session in real time
Measure, analyze, benchmark and improve load times for your enterprise key applications
Boost your management, troubleshoot, and remediation capabilities
with scripts created by experts in the IT community.
Version: 1.5.13Creator Name: Guy LeechDate Created: 2018-09-29Date Modified: 2018-11-26Scripting language: PSDownload Count: 53
#requires -version 3
Find and delete the scheduled task that the Scheduled Reboot SBA created
[string]$taskName = 'Reboot scheduled from ControlUp console'
[bool]$foundTask = $false
[int]$exitCode = 0
Get-ScheduledTask -TaskName $taskName -ErrorAction SilentlyContinue | ForEach-Object `
## The Date property is empty so we get creation time from the task description
[string]$createdAt = $null
if( $_.Description -match '\. Created at (.*)$' )
$createdAt = ", created at $($Matches)"
$_ | Unregister-ScheduledTask -Confirm:$false
if( $? )
Write-Output "Successfuly deleted scheduled task `"$($_.TaskName)`"$createdAt"
Write-Error "Error deleting scheduled task `"$($_.TaskName)`"$createdAt"
$exitCode = 1
$foundTask = $true
if( ! $foundTask )
Write-Error "Failed to find a scheduled task called `"$taskName`""
Gain access to ControlUp from your PC. Register and get a link to start your Free Trial.