title: Task scheduler-run on event for a specific task only
body: <p>I have a powershell script which triggers an email and I have saved this as <code>EmailScript.PS1</code> (<em>no issues with the script,it runs just fine</em>). I am planning to schedule this script whenever an event is logged in ,example: </p>
  
  <pre><code>Event ID:111    Description:Task terminated
  </code></pre>
  
  <p>I am successfully able to schedule this script whenever the required event is triggered. </p>
  
  <p>However, currently it takes into account all the tasks (not my target task named <code>xyz</code> for example) which is running in task scheduler.</p>
  
  <p>I would like to schedule this event based task only when an event is triggered for a specific task(not all the tasks), but couldnot find such a filter/dropdown in the task scheduler create task tab.</p>
  
  <p>Any suggestions/help would be highly appreciated.</p>