NewScheduledJobOptionCommand Properties

  Name Description
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 ContinueIfGoingOnBattery  Gets or sets the state of the ContinueIfGoingOnBattery cmdlet parameter, which causes a scheduled job to continue running even if the computer switches to battery power. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
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 DoNotAllowDemandStart  Gets or sets the state of the DoNotAllowDemandStart cmdlet parameter, which prevents the job task from being started manually via Task Scheduler. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
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 HideInTaskScheduler  Gets or sets the state of the HideInTaskScheduler cmdlet parameter, which prevents the scheduled job from being displayed in Task Scheduler. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
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 IdleDuration  Gets or sets the IdleDuration cmdlet parameter value, which controls how long the computer needs to be idle before a triggered job task is started. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
public property IdleTimeout  Gets or sets the IdleTimeout cmdlet parameter value, which specifies how long Task Scheduler waits for the computer to become idle after a trigger has activated before canceling a job that is scheduled to be run during computer idle time. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
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 MultipleInstancePolicy  Gets or sets the MultipleInstancePolicy cmdlet parameter value, which provides Task Scheduler options for multiple running instances of the job. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
public property MyInvocation  Gets invocation information about the cmdlet. (Inherited from PSCmdlet)
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 RequireNetwork  Gets or sets the state of the RequireNetwork cmdlet parameter, which allows the job task to be run only when a network connection is available. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
public property RestartOnIdleResume  Gets or sets the state of the RestartOnIdleResume cmdlet parameter, which restarts a scheduled job when the computer becomes idle. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
public property RunElevated  Gets or sets the state of the RunElevated cmdlet parameter, which runs the scheduled job with the permissions of a member of the Administrators group on the computer on which the job runs. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
public property SessionState  Gets information about the current state of the current session where the cmdlet is running. (Inherited from PSCmdlet)
public property StartIfIdle  Gets or sets the state of the StartIfIdle cmdlet parameter, which starts a scheduled job if the computer is idle. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
public property StartIfOnBattery  Gets or sets the state of the StartIfOnBattery cmdlet parameter, which starts a scheduled job even if the computer is running on battery power. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
public property StopIfGoingOffIdle  Gets or sets the state of the StopIfGoingOffIdle cmdlet parameter, which suspends a job that has already been started by Task Scheduler if the computer is no longer idle. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)
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 WakeToRun  Gets or sets the state of the WakeToRun cmdlet parameter, which wakes the computer from a Hibernate or Sleep state to run the scheduled job if computer is in sleep mode when the job trigger is activated. This SDK programming element is introduced in Windows PowerShell 3.0. (Inherited from ScheduledJobOptionCmdletBase)


Show:
© 2014 Microsoft