Icinga / Icinga/icinga-powershell-framework

Start-ScheduledTask : Element not found.

Open
#770 6 comments 0 reactions 1 assignee View on GitHub

@LordHepipud is already working on this.

Since Jan 29, 2025.

Bug Investigation
Dominant language
PowerShell
Stars
87
Forks
34
PR merge metrics
No merged PRs in 30d

Description

On certain systems when installing the framwork we get the following error.

Start-ScheduledTask : Element not found.
At C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework\cache\framework_cache.psm1:25123 char:5
+     Start-ScheduledTask -TaskName $TaskName -TaskPath $TaskPath;
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (PS_ScheduledTask:Root/Microsoft/...S_ScheduledTask) [Start-ScheduledTas
   k], CimException
    + FullyQualifiedErrorId : HRESULT 0x80070490,Start-ScheduledTask

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.