2

I know this is a silly question, but it's really bothering me.

I'm using Windows Task Scheduler for a process, what I do is create several task from a PowerShell, in each task's description I write some information, like an ID, a code..., and each of this "entries" I add them with a line break.

The "problem" is that in the preview that shows when you select the task the text is presented without line breaks, making it very annoying to read.

Does anyone knows any way of changing this behaviour?

I add some images to better explain the issue.

enter image description here

Kevin Chacón
  • 175
  • 12

1 Answers1

1

I tried to paste the following pattern via clipboard (one after one from notepad++) and the issue remains the same:

 <CR>
 <CRLF>
 <LF>

There is no hint in Microsoft documentation that "description" would accept any kind of metacharacters. Adding a <br /> inside XML is not working: You cannot import this task anymore. Adding a &#10;&#13; inside XML is just like adding <CRLF>. Powershell doku also says "description" is string.

It seems to be a problem of the GUI.

Christian4145
  • 513
  • 1
  • 9
  • 31