IHostSupportsInteractiveSession Members

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

The following tables list the members exposed by the IHostSupportsInteractiveSession type.

  Name Description
public property IsRunspacePushed Gets a Boolean value that indicates if the current PSSession is open. This property is introduced in Windows PowerShell 2.0.
public property Runspace Gets the runspace of the PSSession. This property is introduced in Windows PowerShell 2.0.
Top

  Name Description
public method PopRunspace Called by Windows PowerShell to indicate a request to close a PSSession. This method is introduced in Windows PowerShell 2.0.
public method PushRunspace 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.
Top


Show: