Share via


Get-RunspaceDebug

Shows runspace debugging options.

Syntax

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

Description

The Get-RunspaceDebug cmdlet shows runspace debugging options.

Examples

1: Show the state of the default runspace debugger

Get-RunspaceDebug

Id Name                 Enabled    BreakAll
 -- ----                 -------    --------
  1 Runspace1            False      False

Parameters

-AppDomainName

The name of the application domain that hosts the PowerShell runspace.

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

-ProcessName

The name of the process that hosts the PowerShell runspace.

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

-Runspace

One or more Runspace objects to be disabled.

Type:Runspace[]
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-RunspaceId

One or more Runspace Id numbers to be disabled.

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

-RunspaceInstanceId

One or more Runspace GUIDs to be disabled.

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

-RunspaceName

One or more Runspace names to be disabled.

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