Get-​Runspace

Gets active runspaces within a Windows PowerShellhost process.

Syntax

Get-Runspace
   [-Id] <Int32[]>
   [<CommonParameters>]
Get-Runspace
   [-InstanceId] <Guid[]>
   [<CommonParameters>]
Get-Runspace
   [[-Name] <String[]>]
   [<CommonParameters>]

Description

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

Examples

1:

2:

Required Parameters

-Id

@{Text=}

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

Specifies the instance ID GUID of a running job.

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

Optional Parameters

-Name

@{Text=}

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