| external help file | Microsoft.PowerShell.Commands.Utility.dll-Help.xml |
|---|---|
| Locale | en-US |
| Module Name | Microsoft.PowerShell.Utility |
| ms.date | 03/19/2020 |
| online version | https://learn.microsoft.com/powershell/module/microsoft.powershell.utility/get-runspacedebug?view=powershell-7.6&WT.mc_id=ps-gethelp |
| schema | 2.0.0 |
| title | Get-RunspaceDebug |
Shows runspace debugging options.
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>]
The Get-RunspaceDebug cmdlet shows runspace debugging options.
Get-RunspaceDebug Id Name Enabled BreakAll
-- ---- ------- --------
1 Runspace1 False False
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: FalseThe 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: FalseOne 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: FalseOne 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: FalseOne 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: FalseOne 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: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.