ScheduledTask-CheckExists


ScheduledTask-CheckExists
    [-taskName] <String>
    [-taskPath] <String>

Description

Checks if a task already exists

Example


if(ScheduledTask-CheckExists -taskName "MyTask" -taskPath "Tasks")
{
    Write-Host "Task Exists"
}