NewJobTriggerCommand Class

Represents the New-JobTrigger PowerShell cmdlet, which creates a scheduled job trigger. 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 NewJobTriggerCommand

Syntax

'Declaration
<OutputTypeAttribute(System.Compiler.TypeNode[])> _
<CmdletAttribute("New", "JobTrigger", DefaultParameterSetName:="Once", HelpUri:="http://go.microsoft.com/fwlink/?LinkID=223912")> _
Public NotInheritable Class NewJobTriggerCommand
    Inherits ScheduleJobCmdletBase
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
[CmdletAttribute("New", "JobTrigger", DefaultParameterSetName="Once", HelpUri="http://go.microsoft.com/fwlink/?LinkID=223912")] 
public sealed class NewJobTriggerCommand : ScheduleJobCmdletBase
[OutputTypeAttribute(System.Compiler.TypeNode[])] 
[CmdletAttribute(L"New", L"JobTrigger", DefaultParameterSetName=L"Once", HelpUri=L"http://go.microsoft.com/fwlink/?LinkID=223912")] 
public ref class NewJobTriggerCommand sealed : public ScheduleJobCmdletBase
/** @attribute OutputTypeAttribute(System.Compiler.TypeNode[]) */ 
/** @attribute CmdletAttribute("New", "JobTrigger", DefaultParameterSetName="Once", HelpUri="http://go.microsoft.com/fwlink/?LinkID=223912") */ 
public final class NewJobTriggerCommand extends ScheduleJobCmdletBase
OutputTypeAttribute(System.Compiler.TypeNode[]) 
CmdletAttribute("New", "JobTrigger", DefaultParameterSetName="Once", HelpUri="http://go.microsoft.com/fwlink/?LinkID=223912") 
public final class NewJobTriggerCommand 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.NewJobTriggerCommand

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

NewJobTriggerCommand Members
Microsoft.PowerShell.ScheduledJob Namespace