Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize

RegisterScheduledJobCommand Class

Represents the Register-ScheduledJob cmdlet, which creates a new type of scheduled job definition and registers it with Task Scheduler. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.


Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

'Usage
Dim instance As RegisterScheduledJobCommand

'Declaration
<OutputTypeAttribute(System.Compiler.TypeNode[])> _
<CmdletAttribute("Register", "ScheduledJob", SupportsShouldProcess:=True, DefaultParameterSetName:="ScriptBlock", HelpUri:="http://go.microsoft.com/fwlink/?LinkID=223922")> _
Public NotInheritable Class RegisterScheduledJobCommand
	Inherits ScheduleJobCmdletBase
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
/** @attribute CmdletAttribute("Register", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="ScriptBlock", HelpUri="http://go.microsoft.com/fwlink/?LinkID=223922") */ 
public final class RegisterScheduledJobCommand extends ScheduleJobCmdletBase
OutputTypeAttribute(System.Compiler.TypeNode[]) 
CmdletAttribute("Register", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="ScriptBlock", HelpUri="http://go.microsoft.com/fwlink/?LinkID=223922") 
public final class RegisterScheduledJobCommand extends ScheduleJobCmdletBase

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft