Partilhar via


Microsoft.PowerShell.ScheduledJob Namespace

Classes

AddJobTriggerCommand

This cmdlet adds ScheduledJobTriggers to ScheduledJobDefinition objects.

DisableJobTriggerCommand

This cmdlet enables triggers on a ScheduledJobDefinition object.

DisableScheduledJobCommand

This cmdlet disables the specified ScheduledJobDefinition.

DisableScheduledJobDefinitionBase

Base class for the DisableScheduledJobCommand, EnableScheduledJobCommand cmdlets.

EnableDisableScheduledJobCmdletBase

Base class for DisableJobTrigger, EnableJobTrigger cmdlets.

EnableJobTriggerCommand

This cmdlet disables triggers on a ScheduledJobDefinition object.

EnableScheduledJobCommand

This cmdlet enables the specified ScheduledJobDefinition.

GetJobTriggerCommand

This cmdlet gets ScheduledJobTriggers for the specified ScheduledJobDefintion object.

GetScheduledJobCommand

This cmdlet gets scheduled job definition objects from the local repository.

GetScheduledJobOptionCommand

This cmdlet gets scheduled job option object from a provided ScheduledJobDefinition object.

JobTriggerToCimInstanceConverter

Class providing implementation of PowerShell conversions for types in Microsoft.Management.Infrastructure namespace

NewJobTriggerCommand

This cmdlet creates a new scheduled job trigger based on the provided parameter values.

NewScheduledJobOptionCommand

This cmdlet creates a new scheduled job option object based on the provided parameter values.

RegisterScheduledJobCommand

This cmdlet creates a new scheduled job definition object based on the provided parameter values and registers it with the Task Scheduler.

RemoveJobTriggerCommand

This cmdlet removes ScheduledJobTriggers from ScheduledJobDefinition objects.

ScheduledJob

This is a Job2 derived class that contains a DefinitionJob for running job definition based jobs but can also save and load job results data from file. This class is used to load job result data from previously run jobs so that a user can view results of scheduled job runs. This class also contains the defintion of the scheduled job and so can run an instance of the scheduled job and optionally save results to file.

ScheduledJobDefinition

This class contains all information needed to define a PowerShell job that can be scheduled to run through either stand-alone or through the Windows Task Scheduler.

ScheduledJobException

Exception thrown for errors in Scheduled Jobs.

ScheduledJobInvocationInfo

This class defines the JobInvocationInfo class for PowerShell jobs for job scheduling. The following parameters are supported:

"ScriptBlock" -> ScriptBlock "FilePath" -> String "InitializationScript" -> ScriptBlock "ArgumentList" -> object[] "RunAs32" -> Boolean "Authentication" -> AuthenticationMechanism

ScheduledJobOptionCmdletBase

Base class for NewScheduledJobOption, SetScheduledJobOption cmdlets.

ScheduledJobOptions

This class contains Windows Task Scheduler options.

ScheduledJobSourceAdapter

This class provides functionality for retrieving scheduled job run results from the scheduled job store. An instance of this object will be registered with the PowerShell JobManager so that GetJobs commands will retrieve schedule job runs from the file based scheduled job store. This allows scheduled job runs to be managed from PowerShell in the same way workflow jobs are managed.

ScheduledJobTrigger

This class contains parameters used to define how/when a PowerShell job is run via the Windows Task Scheduler (WTS).

ScheduleJobCmdletBase

Base class for ScheduledJob cmdlets.

SetJobTriggerCommand

This cmdlet sets properties on a trigger for a ScheduledJobDefinition.

SetScheduledJobCommand

This cmdlet updates a scheduled job definition object based on the provided parameter values and saves changes to job store and Task Scheduler.

SetScheduledJobOptionCommand

This cmdlet sets the provided scheduled job options to the provided ScheduledJobOptions objects.

UnregisterScheduledJobCommand

This cmdlet removes the specified ScheduledJobDefinition objects from the Task Scheduler, job store, and local repository.

Enums

TaskMultipleInstancePolicy

Enumerates Task Scheduler options for multiple instance polices of scheduled tasks (jobs).

TriggerFrequency

Specifies trigger types in terms of the frequency that the trigger is activated.