SteppablePipeline.Begin SteppablePipeline.Begin SteppablePipeline.Begin Method

Definition

Overloads

Begin(Boolean) Begin(Boolean) Begin(Boolean)

Begin execution of a steppable pipeline. This overload doesn't reroute output and error pipes.

Begin(InternalCommand) Begin(InternalCommand) Begin(InternalCommand)

Begin execution of a steppable pipeline, using the calling command to figure out how to route the output and errors. This is the most effective way to start stepping.

Begin(Boolean, EngineIntrinsics) Begin(Boolean, EngineIntrinsics) Begin(Boolean, EngineIntrinsics)

Begin execution of a steppable pipeline, using the command running currently in the specified context to figure out how to route the output and errors.

Begin(Boolean) Begin(Boolean) Begin(Boolean)

Begin execution of a steppable pipeline. This overload doesn't reroute output and error pipes.

public void Begin (bool expectInput);
member this.Begin : bool -> unit
Public Sub Begin (expectInput As Boolean)
Parameters
expectInput
Boolean Boolean Boolean

true if you plan to write input into this pipe; false otherwise

Begin(InternalCommand) Begin(InternalCommand) Begin(InternalCommand)

Begin execution of a steppable pipeline, using the calling command to figure out how to route the output and errors. This is the most effective way to start stepping.

public void Begin (System.Management.Automation.Internal.InternalCommand command);
member this.Begin : System.Management.Automation.Internal.InternalCommand -> unit
Public Sub Begin (command As InternalCommand)
Parameters
command
InternalCommand InternalCommand InternalCommand

The command you're calling this from (i.e. instance of PSCmdlet or value of $PSCmdlet variable)

Begin(Boolean, EngineIntrinsics) Begin(Boolean, EngineIntrinsics) Begin(Boolean, EngineIntrinsics)

Begin execution of a steppable pipeline, using the command running currently in the specified context to figure out how to route the output and errors.

public void Begin (bool expectInput, System.Management.Automation.EngineIntrinsics contextToRedirectTo);
member this.Begin : bool * System.Management.Automation.EngineIntrinsics -> unit
Public Sub Begin (expectInput As Boolean, contextToRedirectTo As EngineIntrinsics)
Parameters
expectInput
Boolean Boolean Boolean

true if you plan to write input into this pipe; false otherwise

contextToRedirectTo
EngineIntrinsics EngineIntrinsics EngineIntrinsics

context used to figure out how to route the output and errors.

Applies to