Disable-RunspaceDebug
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.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ProcessNameParameterSet
Position: | 1 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ProcessName
The name of the process that hosts the PowerShell runspace.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
ProcessNameParameterSet
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Runspace
One or more Runspace objects to be disabled.
Parameter properties
Type: | Runspace[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
RunspaceParameterSet
Position: | 0 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-RunspaceId
One or more Runspace Id numbers to be disabled.
Parameter properties
Type: | Int32[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
RunspaceIdParameterSet
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-RunspaceInstanceId
One or more Runspace GUIDs to be disabled.
Parameter properties
Type: | Guid[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
RunspaceInstanceIdParameterSet
Position: | 0 |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-RunspaceName
One or more Runspace names to be disabled.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
RunspaceNameParameterSet
Position: | 0 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.