Runspace.CreateDisconnectedPowerShell Method

Definition

Creates a PowerShell object in the disconnected state for the currently disconnected remote running command associated with this runspace.

public abstract System.Management.Automation.PowerShell CreateDisconnectedPowerShell ();
Returns

PowerShell object in disconnected state.