Submit a ticketCall us

Training ClassSign up for Network Performance Monitor (NPM) and Scalability instructor-led classes

Attend our instructor-led classes, provided by SolarWinds® Academy, to discuss the more advanced monitoring mechanisms available in NPM as well as how to tune your equipment to optimize its polling capabilities. NPM classes offered:
NPM Custom Monitoring and Polling
Orion Platform Scalability

Reserve your seat.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Powershell Monitors on Agent run into Out Of Memory Exception

Powershell Monitors on Agent run into Out Of Memory Exception

Created by Tiarnan Stacke, last modified by MindTouch on Jun 23, 2016

Views: 1,278 Votes: 0 Revisions: 4


This article describes the issue when Powershell Monitors that are running via Agent run into an Out Of Memory Exception.


SAM version  6.2 +


The Execution Policy of Powershell on the target System is set to restricted.



  1. Remote Desktop to the Target Machine.
  2. Open a PowerShell Session.
  3. Run the command:


       If this is set to anything other than Remote-Signed, run the following:
Set-ExecutionPolicy RemoteSigned

  4.  Restart the Agent Service (Run > Services.msc).


Last modified