Megosztás a következőn keresztül:


Command.MergeMyResults(PipelineResultTypes, PipelineResultTypes) Method

Definition

Merges this commands results.

public:
 void MergeMyResults(System::Management::Automation::Runspaces::PipelineResultTypes myResult, System::Management::Automation::Runspaces::PipelineResultTypes toResult);
public void MergeMyResults (System.Management.Automation.Runspaces.PipelineResultTypes myResult, System.Management.Automation.Runspaces.PipelineResultTypes toResult);
member this.MergeMyResults : System.Management.Automation.Runspaces.PipelineResultTypes * System.Management.Automation.Runspaces.PipelineResultTypes -> unit
Public Sub MergeMyResults (myResult As PipelineResultTypes, toResult As PipelineResultTypes)

Parameters

myResult
PipelineResultTypes

Pipeline stream to be redirected.

toResult
PipelineResultTypes

Pipeline stream in to which myResult is merged

Exceptions

myResult parameter is not PipelineResultTypes.Error or toResult parameter is not PipelineResultTypes.Output

Remarks

Currently only operation supported is to merge error of command to output of command.

Applies to