ScheduledTask-CheckExists [-taskName] <String> [-taskPath] <String>
Checks if a task already exists
if(ScheduledTask-CheckExists -taskName "MyTask" -taskPath "Tasks") { Write-Host "Task Exists" }