Disable-​Runspace​Debug

Disables debugging on one or more runspaces, and releases any pending debugger stop.

Syntax

Disable-RunspaceDebug
       [[-ProcessName] <String>]
       [[-AppDomainName] <String[]>]
       [<CommonParameters>]
Disable-RunspaceDebug
       [-Runspace] <Runspace[]>
       [<CommonParameters>]
Disable-RunspaceDebug
       [-RunspaceId] <Int32[]>
       [<CommonParameters>]
Disable-RunspaceDebug
       [-RunspaceInstanceId] <Guid[]>
       [<CommonParameters>]
Disable-RunspaceDebug
       [[-RunspaceName] <String[]>]
       [<CommonParameters>]

Description

The Disable-RunspaceDebug cmdlet disables debugging on one or more runspaces, and releases any pending debugger stop.

Examples

1:

2:

Required Parameters

-Runspace

Specifies a runspace object. The simplest way to provide a value for this parameter is to specify a variable that contains the results of a filtered Get-Runspace command.

Type:Runspace[]
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-RunspaceId

@{Text=}

Type:Int32[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunspaceInstanceId

@{Text=}

Type:Guid[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-AppDomainName

@{Text=}

Type:String[]
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ProcessName

@{Text=}

Type:String
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-RunspaceName

@{Text=}

Type:String[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False