Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IHostSupportsInteractiveSession Interface

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Use this interface to enable cmdlets such as Enter-PsSession and Exit-PsSession. This class is introduced in Windows PowerShell 2.0.

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

Public Interface IHostSupportsInteractiveSession

NameDescription
System_CAPS_pubpropertyIsRunspacePushed

Gets a Boolean value that indicates if the current PSSession is open. This property is introduced in Windows PowerShell 2.0.

System_CAPS_pubpropertyRunspace

Gets the runspace of the PSSession. This property is introduced in Windows PowerShell 2.0.

NameDescription
System_CAPS_pubmethodPopRunspace()

Called by Windows PowerShell to indicate a request to close a PSSession. This method is introduced in Windows PowerShell 2.0.

System_CAPS_pubmethodPushRunspace(Runspace)

Called by Windows PowerShell to indicate a request to open a PSSession using the specified runspace. This method is introduced in Windows PowerShell 2.0.

Return to top
Show: