• Management Pack:  SCOM 2016
  • MP Version:  1.0
  • Released:  10/19/2018
  • Publisher:  Microsoft

Alert on Failure to Create PowerShell Run space for Power Shell Script Rule

  • ID:  Microsoft.SystemCenter.PowerShellModule.AlertOnFailedCreateRunspace
  • Description:  Alerts when a rule or monitor attempts to execute a Power Shell script and the Power Shell Run space cannot be started.
  • Target:  Health Service
  • Enabled:  Yes

Overridable Parameters

Parameter Name Default Value Description Override
Priority 1  
Severity 1  

Run As Profiles

Name
Default

Alert Details

Message Priority Severity
Power Shell Run space Failed to start Medium Warning

Rule Knowledgebase

Summary

The System Center Management Health Service was attempting to run an PowerShell script and was unable to create the PowerShell run space.

This may affect some monitoring or discovery.

Causes

This can be caused by:

  • Incorrectly configured PowerShell install.

  • The computer does not have enough resources (for example; memory) to create the PowerShell run space.

Resolutions

The alert description and context has information indicating which rule or monitor failed. The following link will display all events indicating a failure to run the PowerShell script:

View PowerShell Events

After reviewing the error in the context, check:

That PowerShell is installed correctly on the computer.

That the computer is not over utilized.

  • Check Task Manager to see if there is enough free memory.

  • Check Task Manager to see if there are any processes consuming all the CPU.

Lastly, you should check verify the action account has sufficient access to run PowerShell.

External References
This rule does not contain any external references.

See Also for SCOM 2016 Management Pack


Downloads for SCOM 2016 Management Pack

AZURE OPTIMIZATION ASSESSMENT GET STARTED
MIGRATION TO AZURE GET STARTED
SYSTEM CENTER MIGRATION TO AZURE GET STARTED
MIGRATION TO AZURE FOR SQL AND WINDOWS 2008 GET STARTED