Table of contents
ISE
TOC
Collapse the table of content
Expand the table of content

Get-Runspace

JuanPablo Jofre|Last Updated: 12/14/2016
|
2 Contributors

SYNOPSIS

Gets active runspaces within a Windows PowerShellhost process.

SYNTAX

NameParameterSet (Default)

Get-Runspace [[-Name] <String[]>] [<CommonParameters>]

IdParameterSet

Get-Runspace [-Id] <Int32[]> [<CommonParameters>]

InstanceIdParameterSet

Get-Runspace [-InstanceId] <Guid[]> [<CommonParameters>]

DESCRIPTION

The Get-Runspace cmdlet gets active runspaces in a Windows PowerShell host process.

EXAMPLES

1:

2:

PARAMETERS

-Id

@{Text=}

Type: Int32[]
Parameter Sets: IdParameterSet
Aliases: 

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

-InstanceId

@{Text=}

Type: Guid[]
Parameter Sets: InstanceIdParameterSet
Aliases: 

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

-Name

@{Text=}

Type: String[]
Parameter Sets: NameParameterSet
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

Debug-Runspace

© 2017 Microsoft