Has anyone received this warning constantly on machines? If so, do you have a way to silence this one or at least change the threshold to make it not occur? Thanks. Gary
System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol.At line:106 char:15
Have you upgraded to UR4 yet? This is one of the fixed issues:
Fix: SCOMpercentageCPUTimeCounter.ps1 script generates WMI errors that are caused by Service Principle Name (SPN) configuration issues. (servers configured with HTTP SPN’s)
Ahh no. I’m on RU3. However, my problem says the script can’t even run right?
The PowerShell script failed with below exception
System.Management.Automation.ActionPreferenceStopException: The running command stopped because the preference variable “ErrorActionPreference” or common parameter is set to Stop: The WinRM client sent a request to an HTTP server and got a response saying the requested HTTP URL was not available. This is usually returned by a HTTP server that does not support the WS-Management protocol.At line:106 char:15
Gary Jackson’s response above will resolve the issue, though this was only ever meant to be a temporary solution to resolve a bug in the MS MPs.
This is a temporary fix for rules and monitors in the System Center Core Monitoring MP shipped with SCOM 2016 (UR3). Issues arise when using WinRM to extract WMI information for some configurations. The issue is reported to Microsoft, though until they make a fix this is the only workaround except from disabling them.