UnmanagedPSEntry.Start(String, String[]) Method

Definition

Starts managed MSH

public:
 int Start(System::String ^ consoleFilePath, cli::array <System::String ^> ^ args);
public:
 int Start(Platform::String ^ consoleFilePath, Platform::Array <Platform::String ^> ^ args);
int Start(std::wstring const & consoleFilePath, std::Array <std::wstring const &> const & args);
public int Start (string consoleFilePath, string[] args);
member this.Start : string * string[] -> int
Public Function Start (consoleFilePath As String, args As String()) As Integer

Parameters

consoleFilePath
String

Console file used to create a runspace configuration to start MSH

args
String[]

Command line arguments to the managed MSH

Returns

Applies to