Delen via


ScheduledJobInvocationInfo Class

Definition

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

[System.Serializable]
public sealed class ScheduledJobInvocationInfo : System.Management.Automation.JobInvocationInfo
[<System.Serializable>]
type ScheduledJobInvocationInfo = class
    inherit JobInvocationInfo
Public NotInheritable Class ScheduledJobInvocationInfo
Inherits JobInvocationInfo
Inheritance
ScheduledJobInvocationInfo
Attributes

Constructors

ScheduledJobInvocationInfo(JobDefinition, Dictionary<String,Object>)

Constructor.

Fields

ArgumentListParameter

ArgumentList parameter.

AuthenticationParameter

Authentication parameter.

FilePathParameter

FilePath parameter.

InitializationScriptParameter

InitializationScript parameter.

RunAs32Parameter

RunAs32 parameter.

ScriptBlockParameter

ScriptBlock parameter.

Properties

Command

Command string to execute.

(Inherited from JobInvocationInfo)
Definition

Definition associated with the job.

(Inherited from JobInvocationInfo)
InstanceId

Unique identifies for this specification.

(Inherited from JobInvocationInfo)
Name

Friendly name associated with this specification.

(Inherited from JobInvocationInfo)
Parameters

Parameters associated with this specification.

(Inherited from JobInvocationInfo)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serialization implementation.

Load(Stream)

Load this specification from a file.

(Inherited from JobInvocationInfo)
Save(Stream)

Save this specification to a file.

(Inherited from JobInvocationInfo)

Applies to