Get-TaskSchedule
Returns one or more task schedule items using the specified criteria.
Syntax
Get-TaskSchedule -Item <Item>
Get-TaskSchedule -Path <String>
Get-TaskSchedule [[-Database] <Database>] [[-Name] <String>]
Detailed Description
The Get-TaskSchedule command returns one or more task schedule items, based on name/database filter, path or simply converting a Sitecore item.
© 2010-2019 Adam Najmanowicz, Michael West. All rights reserved. Sitecore PowerShell Extensions
Parameters
-Item <Item>
Task item to be converted.
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
true (ByValue, ByPropertyName)
Accept Wildcard Characters?
false
-Path <String>
Path to the item to be returned as Task Schedule.
Required?
true
Position?
named
Default Value
Accept Pipeline Input?
true (ByValue, ByPropertyName)
Accept Wildcard Characters?
false
-Database <Database>
Database containing the task items to be returned. If not provided all databases will be considered for filtering using the "Name" parameter.
Required?
false
Position?
2
Default Value
Accept Pipeline Input?
true (ByValue)
Accept Wildcard Characters?
false
-Name <String>
Task filter - supports wildcards. Works with "Database" parameter to narrow tassk to only single database.
Required?
false
Position?
1
Default Value
Accept Pipeline Input?
false
Accept Wildcard Characters?
false
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Sitecore.Data.Items.Item
Outputs
The output type is the type of the objects that the cmdlet emits.
Sitecore.Tasks.ScheduleItem
Notes
Help Author: Adam Najmanowicz, Michael West
Examples
EXAMPLE 1
EXAMPLE 2
EXAMPLE 3
Related Topics
Last updated