Product: PowerShell Universal Version: 4.2.21
IIS WebSocket Feature Enabled SERVERNAME Health check failed:
2024-05-21 09:17:23.252 -05:00 [INF] Running health check: IIS WebSocket Feature Enabled 2024-05-21 09:17:23.268 -05:00 [INF] Finished heartbeat job. 2024-05-21 09:17:23.583 -05:00 [ERR] Health check failed: System.UnauthorizedAccessException at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at PowerShellUniversal.IISWebSocketCheck.Check(IServiceProvider serviceProvider, Hashtable options) in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\Health\IISWebSocketCheck.cs:line 21 at PowerShellUniversal.HealthCheckService.RunChecks() in C:\actions-runner\_work\universal\universal\src\Universal.Server\Services\Health\HealthCheckService.cs:line 62
Fix: Health Checks | PowerShell Universal
Health check failed: Unable to read IIS WebSocket status. Ensure that the user running the Universal Serve has access to the ROOT\CIMV2 namespace in WMI.