Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find Current Runspaces in PowerShell

$
0
0

Summary: Boe Prox shows how to find the current runspaces in Windows PowerShell.

Hey, Scripting Guy! Question  How can I list all of the currently running runspaces in Windows PowerShell?

Hey, Scripting Guy! Answer 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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>