Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > 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 on Mar 08, 2017

Views: 296 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