SessionStateApplicationEntry Constructor

Creates a new SessionStateApplicationEntry object that contains the path to the application. This constructor is introduced by Windows PowerShell 2.0.

Namespace: System.Management.Automation.Runspaces
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim path As String

Dim instance As New SessionStateApplicationEntry(path)

public SessionStateApplicationEntry (
	string path
public SessionStateApplicationEntry (
	String path
public function SessionStateApplicationEntry (
	path : String



The path to the application.

The application entry is added to the initial session state through the InitialSessionState.Commands property.


Target Platforms

© 2015 Microsoft