Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

 

 

 

Home > Success Center > Server & Application Monitor (SAM) > 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: 916 Votes: 0 Revisions: 4

Overview

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

Environment

SAM version  6.2 +

Cause 

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

 

Resolution

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

Get-ExecutionPolicy

       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
03:00, 23 Jun 2016

Tags

Classifications

Public