title: Fetch info of scheduled tasks
body: <p>I earlier posted this question:
  <a href="https://stackoverflow.com/questions/34950907/check-real-path-or-content-of-job-task">Check real path or content of job/task</a></p>
  <p>This may have been a bit confusing, so I'm rephrasing: what I want is the content, name, description etc. of a task on the system.</p>
  <p>For example, I want to know which tasks contain or execute iexplore.exe.</p>
  <p>I have used the following command:</p>
  <pre><code>schtasks /query /fo LIST /v | findstr /i /s &quot;iexplore.exe&quot;
  </code></pre>
  <p>This will give me the output:</p>
  <blockquote>
  <p>Task to Run: C:\Program Files\Internet Explorer\iexplore.exe</p>
  </blockquote>
  <p>But this is insufficient information. Ideally, I want to have listed:
  Name, Location, Description</p>
  <p>If I use:</p>
  <pre><code>schtasks /query /v | findstr /i /s &quot;iexplore.exe&quot;
  </code></pre>
  <p>I get a whole bunch of output, unsorted and not all relevant (I don't want to know the battery mode etc.)</p>
  <p>Is there a way to accomplish the output I'd like (for example:)</p>
  <blockquote>
  <p>Task to run: C:\Program Files\Internet Explorer\iexplore.exe</p>
  <p>Name: Management</p>
  <p>Description: Open Management Interface</p>
  <p>Location: %userprofile%\desktop\Management.html</p>
  </blockquote>
  <p>Is this possible at all via schtasks? And if not, can I use the <strong>dir</strong> command somehow, in a list format or at least clean output as above?</p>
  <p>I would like the output to be piped into a log or text file (as I have some scripts, I can just put it in there).</p>
  <p>Thank you!</p>