StartJobCommand.InitializationScript Property

Definition

Script that is used to initialize the background job.

public:
 virtual property System::Management::Automation::ScriptBlock ^ InitializationScript { System::Management::Automation::ScriptBlock ^ get(); void set(System::Management::Automation::ScriptBlock ^ value); };
public virtual System.Management.Automation.ScriptBlock InitializationScript { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName", Position=1)]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName", Position=1)]
[System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName", Position=1)]
[System.Management.Automation.ValidateTrustedData]
public virtual System.Management.Automation.ScriptBlock InitializationScript { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerName", Position=1)]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName", Position=1)]
[System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName", Position=1)]
public virtual System.Management.Automation.ScriptBlock InitializationScript { get; set; }
member this.InitializationScript : System.Management.Automation.ScriptBlock with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName", Position=1)>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName", Position=1)>]
[<System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName", Position=1)>]
[<System.Management.Automation.ValidateTrustedData>]
member this.InitializationScript : System.Management.Automation.ScriptBlock with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName", Position=1)>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName", Position=1)>]
[<System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName", Position=1)>]
member this.InitializationScript : System.Management.Automation.ScriptBlock with get, set
Public Overridable Property InitializationScript As ScriptBlock

Property Value

Attributes

Applies to