title: How can I remove a trigger from a scheduled task
body: <p>I'm using the Task Scheduler cmdlet in PowerShell to configure triggers for a scheduled task of a Perfmon Data Collector set.
  I'm using the following to modify the Scheduled task and start the data collector set when the server starts:</p>
  
  <pre><code>$trigger = New-ScheduledTaskTrigger -AtStartup
  Set-ScheduledTask -TaskPath '\Microsoft\Windows\PLA\' -Taskname $TemplateName -Trigger $trigger
  </code></pre>
  
  <p>But I want to know if there is a way of removing this trigger from the scheduled task config.  I don't want to disable the Scheduled task, just want to remove this trigger from the Scheduled Task.</p>
  
  <p>Doesn't look like there is a way of doing that from the PowerShell cmdlets.
  Any help will be appreciated.</p>