Integrating Powershell script with Performance Monitor Alerts
hi,
i've been having difficulty calling powershell scripts the "run task when alert triggered" field under alert task tab when setting perfmon alert in windows server 2012 r2. there information around windows server 2008 not server 2012.
so possible call powershell script directly field referred above, or is necessary define ps script in scheduled task , call task above field, defining task arguments , passing them ps script in '$(arg0)'?
thanks,
rick
hi rick,
thanks post. i'm liitle bit confused question above, mean you'd use alert generated in performance monitor triger task in windows server 2012 r2?
if so, may have check on below article, gave detailed steps configure it:
https://www.microsoftpressstore.com/articles/article.aspx?p=2217266&seqnum=2
best regards,
elaine
please remember mark replies answers if , unmark them if provide no help. if have feedback technet subscriber support, contact tnmff@microsoft.com.
Windows Server > Windows Server 2012 General
Comments
Post a Comment