EnableScheduledJobCommand Class

Represents a cmdlet that enables a scheduled job definition. 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 EnableScheduledJobCommand

Syntax

'Declaration
<CmdletAttribute("Enable", "ScheduledJob", SupportsShouldProcess:=True, DefaultParameterSetName:="Definition", HelpUri:="https://go.microsoft.com/fwlink/?LinkID=223926")> _
<OutputTypeAttribute(System.Compiler.TypeNode[])> _
Public NotInheritable Class EnableScheduledJobCommand
    Inherits DisableScheduledJobDefinitionBase
[CmdletAttribute("Enable", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223926")] 
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
public sealed class EnableScheduledJobCommand : DisableScheduledJobDefinitionBase
[CmdletAttribute(L"Enable", L"ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName=L"Definition", HelpUri=L"https://go.microsoft.com/fwlink/?LinkID=223926")] 
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
public ref class EnableScheduledJobCommand sealed : public DisableScheduledJobDefinitionBase
/** @attribute CmdletAttribute("Enable", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223926") */ 
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
public final class EnableScheduledJobCommand extends DisableScheduledJobDefinitionBase
CmdletAttribute("Enable", "ScheduledJob", SupportsShouldProcess=true, DefaultParameterSetName="Definition", HelpUri="https://go.microsoft.com/fwlink/?LinkID=223926") 
OutputTypeAttribute(System.Compiler.TypeNode[]) 
public final class EnableScheduledJobCommand extends DisableScheduledJobDefinitionBase

Inheritance Hierarchy

System.Object
   System.Management.Automation.Internal.InternalCommand
     System.Management.Automation.Cmdlet
       System.Management.Automation.PSCmdlet
         Microsoft.PowerShell.ScheduledJob.ScheduleJobCmdletBase
           Microsoft.PowerShell.ScheduledJob.DisableScheduledJobDefinitionBase
            Microsoft.PowerShell.ScheduledJob.EnableScheduledJobCommand

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

EnableScheduledJobCommand Members
Microsoft.PowerShell.ScheduledJob Namespace