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 > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Running a PowerShell batch file does not work when alert is triggered

Running a PowerShell batch file does not work when alert is triggered

Created by Roie.Exconde, last modified by Rodim Suarez_ret on Mar 08, 2017

Views: 401 Votes: 0 Revisions: 5

Updated March 8, 2016

Overview

Running a batch file directly on the server executes a PowerShell script as expected, but when the batch file is executed through the Advanced Alerts, it states that it executed and resulting in a false positive.

Environment

  • All NPM versions 
  • Windows Server 2008 and 2012

Resolution

Run the PowerShell script with elevated privilege and set execution policy to bypass.

 

Last modified

Tags

Classifications

Public