Skip to content

Latest commit

 

History

History
183 lines (131 loc) · 3.56 KB

Disable-RunspaceDebug.md

File metadata and controls

183 lines (131 loc) · 3.56 KB
external help file Locale Module Name ms.date online version schema title
Microsoft.PowerShell.Commands.Utility.dll-Help.xml
en-US
Microsoft.PowerShell.Utility
03/19/2020
2.0.0
Disable-RunspaceDebug

Disable-RunspaceDebug

SYNOPSIS

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

SYNTAX

RunspaceNameParameterSet (Default)

Disable-RunspaceDebug [[-RunspaceName] <String[]>] [<CommonParameters>]

RunspaceParameterSet

Disable-RunspaceDebug [-Runspace] <Runspace[]> [<CommonParameters>]

RunspaceIdParameterSet

Disable-RunspaceDebug [-RunspaceId] <Int32[]> [<CommonParameters>]

RunspaceInstanceIdParameterSet

Disable-RunspaceDebug [-RunspaceInstanceId] <Guid[]> [<CommonParameters>]

ProcessNameParameterSet

Disable-RunspaceDebug [[-ProcessName] <String>] [[-AppDomainName] <String[]>] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

1: Disable the default runspace debugger

Disable-RunspaceDebug
Get-RunspaceDebug
 Id Name                 Enabled    BreakAll
 -- ----                 -------    --------
  1 Runspace1            False      False

PARAMETERS

-AppDomainName

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

Type: System.String[]
Parameter Sets: ProcessNameParameterSet
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProcessName

The name of the process that hosts the PowerShell runspace.

Type: System.String
Parameter Sets: ProcessNameParameterSet
Aliases:

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

-Runspace

One or more Runspace objects to be disabled.

Type: System.Management.Automation.Runspaces.Runspace[]
Parameter Sets: RunspaceParameterSet
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-RunspaceId

One or more Runspace Id numbers to be disabled.

Type: System.Int32[]
Parameter Sets: RunspaceIdParameterSet
Aliases:

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

-RunspaceInstanceId

One or more Runspace GUIDs to be disabled.

Type: System.Guid[]
Parameter Sets: RunspaceInstanceIdParameterSet
Aliases:

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

-RunspaceName

One or more Runspace names to be disabled.

Type: System.String[]
Parameter Sets: RunspaceNameParameterSet
Aliases:

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

RELATED LINKS

Enable-RunspaceDebug

Get-RunspaceDebug