cloudgamestream icon indicating copy to clipboard operation
cloudgamestream copied to clipboard

No MSFT_ScheduledTask objects found with property 'TaskName' equal to 'SetEDID'

Open buxel opened this issue 4 years ago • 2 comments

I just tried your script on a new azure NV6 instance. After rebooting, the script continued but showed an error when applying the EDID fix:

Step 4 - Applying fixes
Applying resolution fix scheduled task...
Get-ScheduledTask : No MSFT_ScheduledTask objects found with property 'TaskName' equal to
'SetEDID'.  Verify the value of the property and retry.
At C:\Users\chris\cloudgamestream\Steps\4_Apply_Fixes.ps1:23 char:7
+ if (!(Get-ScheduledTask -TaskName "SetEDID")) {
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (SetEDID:String) [Get-ScheduledTask], CimJobExceptio
   n
    + FullyQualifiedErrorId : CmdletizationQuery_NotFound_TaskName,Get-ScheduledTask

Resolution fix applied.

buxel avatar May 16 '21 12:05 buxel

While the message itself showing is a bug, the script didn't error in any way and should have still worked.

acceleration3 avatar May 18 '21 21:05 acceleration3

Yes, everything seems to be working. I just checked the scheduler and also found an entry calling the EDID script.

buxel avatar May 19 '21 06:05 buxel