PowerShell SQL Query and Sample PowerShell MP (Wei out there)

I am trying to use Sample Powershell MP for running SQL Queries for monitoring. Ideas is to create these monitors in console using PS Script. 

These queries need to be run with Run As Account

When Powershell command prompt is opened as Run As Account credentials and the script is run, get the desired results.

Any ideas how I can create the scripts that can be used with Run As Account with Sample Powershell MP?

Thanks for suggestions.

September 4th, 2015 12:07am

You may refer to the following blog How to create a monitor with a different run as account
http://www.code4ward.net/2011/11/14/how-to-create-a-monitor-with-a-different-run-as-account/
Roger
Free Windows Admin Tool Kit Click here and download it now
September 4th, 2015 3:36am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics