Share via


CmdletExtensions.ExecuteScript<T>(PSCmdlet, String) Method

Definition

public static System.Collections.Generic.List<T> ExecuteScript<T> (this System.Management.Automation.PSCmdlet cmdlet, string contents);
static member ExecuteScript : System.Management.Automation.PSCmdlet * string -> System.Collections.Generic.List<'T>
<Extension()>
Public Function ExecuteScript(Of T) (cmdlet As PSCmdlet, contents As String) As List(Of T)

Type Parameters

T

Parameters

cmdlet
PSCmdlet
contents
String

Returns

List<T>

Applies to