Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

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

Open
buxel opened this issue May 16, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@buxel
Copy link

buxel commented May 16, 2021

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.
@acceleration3 acceleration3 added the bug Something isn't working label May 18, 2021
@acceleration3
Copy link
Owner

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

@buxel
Copy link
Author

buxel commented May 19, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants