StartJobCommand.InitializationScript Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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