I am trying get a list of all the Windows Task Scheduler tasks, to be later filtered by their Action.
I noticed in Both Windows PowerShell and Powershell ISE when running
Get-ScheduledTask
I only get semi results:
But after running Get-ScheduledTask | Get-ScheduledTaskInfo
Which returns empty:
And then running Get-ScheduledTask
again, it does return full results:
Why Get-ScheduledTask
behave diffrently before and after Get-ScheduledTask | Get-ScheduledTaskInfo
?