title: GetScheduled-Job doesn't return any job
body: <p>I'm trying to use PowerShell to add a trigger to an existing scheduled task.
  I'm using Windows 10 &amp; PowerShell 5</p>
  
  <p>When I run:</p>
  
  <pre><code>Get-Scheduled-Job -Name TASK_NAME
  </code></pre>
  
  <p>I receive the error: </p>
  
  <pre><code>&gt;Get-ScheduledJob : A scheduled job definition with Name sanityInstaller could not be found.
  At line:1 char:1
  + Get-ScheduledJob sanityInstaller
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (:) [Get-ScheduledJob], RuntimeException
      + FullyQualifiedErrorId : ScheduledJobDefinitionNotFoundByName,Microsoft.PowerShell.ScheduledJob.GetScheduledJobCommand
  </code></pre>
  
  <p>It seems that even when I run the same command with no parameter it's expected to return all jobs but it returns an empty result.</p>
  
  <p>In the Task Scheduler there's no such folder as <code>/Microsoft/Windows/PowerShell/ScheduledJobs</code> and even after I created it and a new task inside it doesn't return it.</p>
  
  <p>What am I missing here ?</p>