title: How to edit a scheduled task trigger
body: <pre><code>$taskExists = Get-ScheduledTask $strTaskName
     if($taskExists) {
  
      $taskExists.Description = "a daily  Report"
  
      $taskExists | set-scheduledtask -user $strUser -Password $strPassword
     }
  </code></pre>
  
  <p>The above piece of power shell code is to update existing schedule task. Could anyone please tell me how to update the <strong>trigger</strong> values?</p>