Hello everybody,
I wanted to get information about a scheduled task, and I got an error that disorients the search engines:
PS C:\Users\User> Get-ScheduledTaskInfo -TaskName WNbMails
Get-ScheduledTaskInfo : Le fichier spécifié est introuvable.
Au caractère Ligne:1 : 1
- Get-ScheduledTaskInfo -TaskName WNbMails
+ CategoryInfo : ObjectNotFound: (PS_ScheduledTask:Root/Microsoft/...S_ScheduledTask) [Get-ScheduledTaskInf o], CimException + FullyQualifiedErrorId : HRESULT 0x80070002,Get-ScheduledTaskInfo
On the first line, the message says that the file is not found. Any idea about what file is the topic?
The task name that I took as an example was given by Get-ScheduledTask.
And what is strange is that for Bing, so for Microsoft, this error is linked to Windows Update.
Well … I was updating nothing.
I intended to list triggers and actions for a sheduled task. What an efficient start indeed.