Runspace.CreateDisconnectedPowerShell Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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();
public abstract System.Management.Automation.PowerShell CreateDisconnectedPowerShell ();
abstract member CreateDisconnectedPowerShell : unit -> System.Management.Automation.PowerShell
Public MustOverride Function CreateDisconnectedPowerShell () As PowerShell
Returns
PowerShell object in disconnected state.