This is the built-in help made by Microsoft for the command 'Get-ScheduledTaskInfo', in PowerShell version 5 - as retrieved from
Windows version 'Microsoft Windows Server 2012 R2 Standard' PowerShell help files on 2016-06-23.
For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.
Gets run-time information for a scheduled task.
Get-ScheduledTaskInfo [-InputObject] <CimInstance> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
Get-ScheduledTaskInfo [-TaskName] <String> [[-TaskPath] <String>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
The Get-ScheduledTaskInfo cmdlet gets the last run-time information for a scheduled task. You can use the TaskName parameter to specify a scheduled task, or you can use the
InputObject parameter to specify the scheduled task.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287550
Get-ScheduledTask
New-ScheduledTask
Enable-ScheduledTask
Register-ScheduledTask
Start-ScheduledTask
Set-ScheduledTask
<
Example 1: Get run-time information by using a task name
PS C:\> Get-ScheduledTaskInfo -TaskName "\Sample\SchedTask01"
This command gets run-time information for the scheduled task that is names \Sample\SchedTask01.
Example 2: Get run-time information by using an input object
PS C:\>Get-ScheduledTask -TaskPath "\Sample\" | Get-ScheduledTaskInfo
In this example, the Get-ScheduledTask cmdlet gets all the scheduled tasks in the path \Sample\, and pipes the results to the Get-ScheduledTaskInfo cmdlet.
In the second part of the command, the Get-ScheduledTaskInfo cmdlet gets the run-time information for all the scheduled tasks in the path \Sample\.