This is the built-in help made by Microsoft for the command 'Get-ScheduledTask', in PowerShell version 4 - as retrieved from
Windows version 'Microsoft Windows 8.1 Enterprise' 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 the task definition object of a scheduled task that is registered on the local computer.
Get-ScheduledTask [[-TaskName] <String[]>] [[-TaskPath] <String[]>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]
The Get-ScheduledTask cmdlet gets the task definition object of a scheduled task that is registered on a computer.
<
Online Version: http://go.microsoft.com/fwlink/p/?linkid=287549
Disable-ScheduledTask
Enable-ScheduledTask
Export-ScheduledTask
New-ScheduledTask
Register-ScheduledTask
Set-ScheduledTask
Start-ScheduledTask
Stop-ScheduledTask
Unregister-ScheduledTask
Get-ScheduledTaskInfo
<
Example 1: Get a scheduled task definition object
PS C:\> Get-ScheduledTask -TaskName "SystemScan"
TaskPath TaskName State
-------- -------- --------
\ SystemScan Ready
This command gets the definition object of the SystemScan scheduled task in the root folder.
Example 2: Get an array of scheduled task definition objects
PS C:\> Get-ScheduledTask -TaskPath "\UpdateTasks\"
TaskPath TaskName State
-------- -------- --------
\UpdateTasks UpdateApps Ready
\UpdateTasks UpdateDrivers Ready
\UpdateTasks UpdateOS Disabled
\UpdateTasks UpdateSignatures Running
This command gets an array of task definitions objects from the UpdateTasks folder.