SetJobTriggerCommand Members

Represents the Set-JobTrigger cmdlet, which changes the properties of the job triggers of scheduled jobs. This class cannot be inherited. This SDK programming element is introduced in Windows PowerShell 3.0.

The following tables list the members exposed by the SetJobTriggerCommand type.

Public Constructors

  Name Description
  SetJobTriggerCommand Initializes a new instance of the SetJobTriggerCommand class. This SDK programming element is introduced in Windows PowerShell 3.0.

Top

Public Properties

  Name Description
public property At Gets or sets the job start date and time for the trigger. This property represents the At cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property AtLogOn Gets or sets a trigger that is activated at user logon. This property represents the AtLogon cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property AtStartup Gets or sets a trigger that is activated at machine startup. This property represents the AtStartup cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property CommandOrigin  Gets the origin of the command. The command can be invoked within a runspace or it could be an external request (such as invoking the command from the command line). This property is introduced in Windows PowerShell 2.0. (Inherited from InternalCommand)
public property CommandRuntime  Gets and sets the command runtime object that controls what happens when the cmdlet writes an object to the pipeline. (Inherited from Cmdlet)
public property CurrentPSTransaction  Gets the latest transaction started by running the Start-Transaction cmdlet. This property is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet)
public property Daily Gets or sets a trigger that is activated on a daily basis. This property represents the Daily cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property DaysInterval Gets or sets the number of days between automatic activations of a trigger. This property represents the DaysInterval cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property DaysOfWeek Gets or sets the days of the week in which the weekly trigger is activated. This property represents the DaysOfWeek cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property Events  Gets the event manager for the current session where the cmdlet is running This property is introduced in Windows PowerShell 2.0. (Inherited from PSCmdlet)
public property Host  Gets information about the host that is being used by the session where the cmdlet is running. (Inherited from PSCmdlet)
public property InputObject Gets or sets the scheduled job triggers on which to change the properties. This SDK programming element is introduced in Windows PowerShell 3.0.
public property InvokeCommand  Gets utility routines for executing scripts and creating script blocks. (Inherited from PSCmdlet)
public property InvokeProvider  Gets provider information that is used to access a data store. (Inherited from PSCmdlet)
public property JobManager  Gets or sets the job manager for the registered JobSourceAdapter objects. (Inherited from PSCmdlet)
public property JobRepository  Get the active jobs available in the current session where the cmdlet is running. This property is introduced in Windows PowerShell 2.0. (Inherited from PSCmdlet)
public property MyInvocation  Gets invocation information about the cmdlet. (Inherited from PSCmdlet)
public property Once Gets or sets a one-time trigger. This property represents the Once cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property PagingParameters  If the cmdlet declares paging support (via SupportsPaging), then PagingParameters property contains arguments of the paging parameters. Otherwise PagingParameters property is null. (Inherited from PSCmdlet)
public property ParameterSetName  Gets the name of the parameter set that is used by the cmdlet. (Inherited from PSCmdlet)
public property PassThru Gets or sets the scheduled job triggers that changed. This property represents the PassThru cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property RandomDelay Gets or sets the maximum time of the random delay that can occur after the scheduled start time. This property represents the RandomDelay cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property RepeatIndefinitely  
public property RepetitionDuration Gets or sets how long the repetition pattern is repeated. This property represents the RepetitionDuration cmdlet parameter.
public property RepetitionInterval Gets or sets the amount of time between each restart of the job. This property represents the RepetitionInterval cmdlet parameter.
public property SessionState  Gets information about the current state of the current session where the cmdlet is running. (Inherited from PSCmdlet)
public property Stopping  Gets an indicator that the pipeline is stopping. The pipeline can be stopped for numerous reasons, such as when the user has entered the key combination CTRL+C, a terminating error has occurred, the hosting application requested a stop, and so on.  (Inherited from Cmdlet)
public property User Gets or sets the user name that is used to determine, along with the AtLogon cmdlet parameter, which user logon causes the trigger to activate. This property represents the User cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property Weekly Gets or sets a trigger that is activated on a weekly basis. This property represents the Weekly cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.
public property WeeksInterval Gets or sets the number of weeks between automatic activations of a trigger. This property represents the WeeksInterval cmdlet parameter. This SDK programming element is introduced in Windows PowerShell 3.0.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method CurrentProviderLocation  Returns the fully-qualified path of the current working directory for the specified provider. (Inherited from PSCmdlet)
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetResolvedProviderPathFromPSPath  Returns the resolved provider path from a specified Windows PowerShell path. (Inherited from PSCmdlet)
public method GetResourceString  Gets a resource string that corresponds to the specified resource base key and identifier. (Inherited from Cmdlet)
public method GetType  (Inherited from Object)
public method GetUnresolvedProviderPathFromPSPath  Returns the fully-qualified provider path of a specified relative Windows PowerShell path. (Inherited from PSCmdlet)
public method GetVariableValue  Overloaded. Returns the value of a specific session-state variable. The variants of this method can return a variable value with or without a default value. (Inherited from PSCmdlet)
public method Invoke  Overloaded. Invokes a cmdlet object. The variants of this method can invoke a cmdlet that returns a collection of results or a strongly-typed enumerator. (Inherited from Cmdlet)
public method ShouldContinue  Overloaded. Requests confirmation of an operation from the user. This is typically a second query to the user. The variants of this method can send the query with or without providing yesToall or noToall options to the user. (Inherited from Cmdlet)
public method ShouldProcess  Overloaded. Requests confirmation from the user before an operation is performed. The variants of this method can be used to send the name of the resource to be changed, send the name of the resource and the operation to be performed, and more. The confirmation message that is displayed to the user is based on which variant of this method is called. (Inherited from Cmdlet)
public method ThrowTerminatingError  Reports a terminating error when the cmdlet cannot continue, or when you do not want the cmdlet to continue to process records. (Inherited from Cmdlet)
public method ToString  (Inherited from Object)
public method TransactionAvailable  Determines whether the Start-Transaction cmdlet has been called and that there is a Windows PowerShell transaction available that the cmdlet can participate in. This method is introduced in Windows PowerShell 2.0. (Inherited from Cmdlet)
public method WriteCommandDetail  Writes information to the execution log of the pipeline. (Inherited from Cmdlet)
public method WriteDebug  Writes a debug message to the host. (Inherited from Cmdlet)
public method WriteError  Reports a nonterminating error to the error pipeline when the cmdlet cannot process a record but can continue to process other records. (Inherited from Cmdlet)
public method WriteObject  Overloaded. Writes an object to the output pipeline. The variants of this method can be used to write a single object or an object that can be enumerated. (Inherited from Cmdlet)
public method WriteProgress  Writes a progress record to the host. (Inherited from Cmdlet)
public method WriteVerbose  Writes a general user-level message to the pipeline. These messages can help describe what the cmdlet is doing. (Inherited from Cmdlet)
public method WriteWarning  Writes a warning message that can be displayed. (Inherited from Cmdlet)

Top

Protected Methods

  Name Description
protected method BeginProcessing  Provides a one-time, preprocessing functionality for the cmdlet. (Inherited from Cmdlet)
protected method EndProcessing  Provides a one-time, post-processing functionality for the cmdlet. (Inherited from Cmdlet)
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method ProcessRecord  Provides a record-by-record processing functionality for the cmdlet. (Inherited from Cmdlet)
protected method StopProcessing  Stops processing records when the user stops the cmdlet asynchronously. (Inherited from Cmdlet)

Top

See Also

Reference

SetJobTriggerCommand Class
Microsoft.PowerShell.ScheduledJob Namespace