Submit a ticketCall us

AnnouncementsSystem Monitoring for Dummies

Tired of monitoring failures disrupting the system, application, and service? Learn the key monitoring concepts needed to help you create sophisticated monitoring and alerting strategies that can help you save time and money. Read the eBook.

Get your free eBook.

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: 435 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