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.IsRunspacePushed Property


Updated: April 27, 2016

Applies To: Windows PowerShell

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

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

bool IsRunspacePushed { get; }

Property Value

Type: System.Boolean

Returns a Boolean value that indicates true if the session is open. Otherwise false is returned.

Return to top

Community Additions