Exception setting CursorPosition

If you have CLS in a PowerShell script that's in an mp you can get this error. Remove it to fix.

FailedJobs.ps1 executed in 0m 0s 190ms : 
Running as: NT AUTHORITY\SYSTEM
Workflow Name: SQL.Monitor.FailedJobs
Management Pack: SQL.Monitoring (2023.7.18.0)
PowerShell Version: 
Output: Exception setting "CursorPosition": "set_CursorPosition"

Comments