共用方式為


CmdletExtensions.ExecuteCmdletInPipeline<T> Method

Definition

public static System.Collections.Generic.List<T> ExecuteCmdletInPipeline<T> (this System.Management.Automation.PSCmdlet cmdlet, string name, params object[] cmdletParameters);
static member ExecuteCmdletInPipeline : System.Management.Automation.PSCmdlet * string * obj[] -> System.Collections.Generic.List<'T>
<Extension()>
Public Function ExecuteCmdletInPipeline(Of T) (cmdlet As PSCmdlet, name As String, ParamArray cmdletParameters As Object()) As List(Of T)

Type Parameters

T

Parameters

cmdlet
PSCmdlet
name
String
cmdletParameters
Object[]

Returns

List<T>

Applies to