Submit a ticketCall us

Solarwinds & Cisco Live! Barcelona
Join us from the 29th of January to the 2nd of February at Cisco Live 2018 in Barcelona, where we will continue to show how monitoring the network with SolarWinds will keep you ahead of the game. At our booth (WEP 1A), we will demonstrate how SolarWinds network solutions can help. As a bonus, we are also hosting a pre-event webinar - Blame the Network, Hybrid IT Edition with our SolarWinds Head Geek™, Patrick Hubbard on January 24th - GMT (UTC+0): 10:00 a.m. to 11:00 a.m. There's still time to RSVP.

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