Pode
Pode copied to clipboard
Naming Runspaces
Describe the Change
When inspecting a Pode server we often see several runspaces in different states. I know there are several runspaces for schedules and route listenings. It would be useful if the runspaces where named.
Currently
- Find the PODE Process ID
-
Enter-PSHostProcess -Id <pid>
-
Get-Runspace
[Process:9048]: PS > Get-Runspace
Id Name ComputerName Type State Availability
-- ---- ------------ ---- ----- ------------
1 Runspace1 localhost Local Opened Available
2 Runspace2 localhost Local Opened Busy
4 Runspace4 localhost Local Opened Busy
5 Runspace5 localhost Local Opened Busy
6 Runspace6 localhost Local Opened Busy
8 Runspace8 localhost Local Opened Busy
10 Runspace10 localhost Local Opened Busy
11 Runspace11 localhost Local Opened Busy
12 Runspace12 localhost Local Opened Available
13 Runspace13 localhost Local Opened Busy
15 Runspace15 localhost Local Opened Busy
16 Runspace16 localhost Local Opened Busy
17 Runspace17 localhost Local Opened Busy
18 Runspace18 localhost Local Opened Busy
19 RemoteHost localhost Local Opened Busy
25 Runspace25 localhost Local Opened Available
32 Runspace32 localhost Local Opened Available
37 Runspace37 localhost Local Opened Available
If we had runspaces that were labeled for schedule tasks that may help troubleshooting, etc.