Version

1.0.0

Author

Ironman Software

Downloads

9

Tags

health-check PowerShell PowerShellUniversal

Created

12/23/2024

Excessive Runspace Usage Health Check

This health check monitors the number of runspaces that are being used by PowerShell Universal. If the number of runspaces exceeds a certain threshold, the health check will return unhealthy.

Configuration

Control the threshold for the number of runspaces by setting the PSUExcessiveRunspaceCount variable. The default value is 50.

$PSUExcessiveRunspaceCount = 50

Installation Options

Install within the PowerShell Universal v5 admin console. More Info

PowerShell Universal Gallery

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet.

PS > Install-PSResource PowerShellUniversal.HealthCheck.ExcessiveRunspaces

Version History

Version Published
1.0.0 12/23/2024