Summary: Boe Prox shows how to find the current runspaces in Windows PowerShell.
How can I list all of the currently running runspaces in Windows PowerShell?
Use the Get-Runspace cmdlet in Windows PowerShell 5.0:
Get-Runspace
Id Name ComputerName Type State Availability
-- ---- ------------ ---- ----- ------------
1 Runspace1 localhost Local Opened Busy
2 Runspace2 localhost Local Opened Busy
3 Runspace3 localhost Local Opened Busy
4 Runspace4 localhost Local Opened Busy