RegisterScheduledJobCommand.InitializationScript Property

Definition

Initialization script to run before the job starts.

[System.Management.Automation.Parameter(ParameterSetName="FilePath")]
[System.Management.Automation.Parameter(ParameterSetName="ScriptBlock")]
[System.Management.Automation.ValidateNotNull]
public System.Management.Automation.ScriptBlock InitializationScript { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="FilePath")>]
[<System.Management.Automation.Parameter(ParameterSetName="ScriptBlock")>]
[<System.Management.Automation.ValidateNotNull>]
member this.InitializationScript : System.Management.Automation.ScriptBlock with get, set
Public Property InitializationScript As ScriptBlock

Property Value

Attributes

Applies to