Get-Runspace

Gets active runspaces within a Windows PowerShell host process.
Get-Runspace [[-Name] [<String[]>]] [<CommonParameters>]
Get-Runspace [-Id*] <Int32[]> [<CommonParameters>]
Get-Runspace [-InstanceId*] <Guid[]> [<CommonParameters>]

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

Parameters
-Id <Int32[]>

  • This value is required

 

-InstanceId <Guid[]>

  • This value is required

 

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

This cmdlet supports the common parameters: Verbose, Debug,ErrorAction, ErrorVariable, WarningAction, WarningVariable,OutBuffer, PipelineVariable, and OutVariable.

    Related Links

    Debug-Runspace