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.

Runspace.Disconnect Method ()


Updated: April 27, 2016

Applies To: Windows PowerShell

Synchronously disconnects the remote runspace from the remote server and sets the runspace state to Disconnected. If the object is a local runspace, a not supported exception is thrown. Introduced in Windows PowerShell 3.0.

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

public abstract void Disconnect()
Return to top

Community Additions