NAME
Get-ClusteredScheduledTask
SYNOPSIS
Gets clustered scheduled tasks for a failover cluster.SYNTAX
Get-ClusteredScheduledTask [[-TaskName]
] [[-Cluster] ] [[-TaskType] {ResourceSpecific | AnyNode | ClusterWide}] [-CimSession
] [-ThrottleLimit ] [ ] DESCRIPTION
The Get-ClusteredScheduledTask cmdlet gets the clustered scheduled tasks registered on a failover cluster. You can
specify task name or task type. For more information about the Windows Serverr 2012 Task Scheduler, see the Task Scheduler Overview topic in theTechNet Library at http://technet.microsoft.com/en-us/library/cc721871.aspx.
PARAMETERS
-CimSession [
Runs the cmdlet in a remote session or on a remote computer. Enter a computer name or a session object, such] as the output of a New-CimSession or Get-CimSession cmdlet. The default is the current session on the local
computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false-Cluster [
Specifies the name of a failover cluster. If you do not specify a cluster, the cmdlet uses the current node cluster name. Required? false Position? 2 Default value none Accept pipeline input? false Accept wildcard characters? false] -TaskName [
Specifies a name of a scheduled task. Required? false Position? 1 Default value none Accept pipeline input? false Accept wildcard characters? false] -TaskType [
Specifies a type for the task. The acceptable values for this parameter are:] -- ResourceSpecific. Resource specific cluster nodes.
-- AnyNode. Active cluster nodes.
-- ClusterWide. All cluster nodes.
Required? false Position? 3 Default value none Accept pipeline input? false Accept wildcard characters? false-ThrottleLimit [
Specifies the maximum number of concurrent operations that can be established to run the cmdlet. If this parameter is omitted or a value of 0 is entered, then Windows PowerShellr calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that are running on the computer. The throttle limit applies only to the current cmdlet, not to the session or to the computer. Required? false Position? named Default value none Accept pipeline input? false Accept wildcard characters? false] This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216). INPUTS
OUTPUTS
Microsoft.Management.Infrastructure.CimInstance#MSFT_ClusteredScheduledTask[]Example 1: Get scheduled tasks
PS C:\> Get-ClusteredScheduledTask -TaskName "Task14" -Cluster "Cluster73"
This command gets the task named Task14 on the cluster named Cluster73.RELATED LINKS
Online Version:Register-ClusteredScheduledTask
Set-ClusteredScheduledTask
Unregister-ClusteredScheduledTask