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
'Usage
Dim instance As RegisterScheduledJobCommand
Syntax
'Declaration
<OutputTypeAttribute(System.Compiler.TypeNode[])> _
<CmdletAttribute("Register", "ScheduledJob", SupportsShouldProcess:=True, DefaultParameterSetName:="ScriptBlock", HelpUri:="https://go.microsoft.com/fwlink/?LinkID=223922")> _
Public NotInheritable Class RegisterScheduledJobCommand
Inherits ScheduleJobCmdletBase
[OutputTypeAttribute(System.Compiler.TypeNode[])]
[CmdletAttribute("Register", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="ScriptBlock", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223922")]
public sealed class RegisterScheduledJobCommand : ScheduleJobCmdletBase
[OutputTypeAttribute(System.Compiler.TypeNode[])]
[CmdletAttribute(L"Register", L"ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName=L"ScriptBlock", HelpUri=L"https://go.microsoft.com/fwlink/?LinkID=223922")]
public ref class RegisterScheduledJobCommand sealed : public ScheduleJobCmdletBase
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */
/** @attribute CmdletAttribute("Register", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="ScriptBlock", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223922") */
public final class RegisterScheduledJobCommand extends ScheduleJobCmdletBase
OutputTypeAttribute(System.Compiler.TypeNode[])
CmdletAttribute("Register", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="ScriptBlock", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223922")
public final class RegisterScheduledJobCommand extends ScheduleJobCmdletBase
Inheritance Hierarchy
System.Object
System.Management.Automation.Internal.InternalCommand
System.Management.Automation.Cmdlet
System.Management.Automation.PSCmdlet
Microsoft.PowerShell.ScheduledJob.ScheduleJobCmdletBase
Microsoft.PowerShell.ScheduledJob.RegisterScheduledJobCommand
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
RegisterScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace