Login Page - Create Account

Support Board


Date/Time: Wed, 02 Jul 2025 04:22:21 +0000



Execute Powershell Script within

View Count: 771

[2020-11-03 03:00:39]
rgrignon - Posts: 1
I did see someone else ask a very similar question here: Alert run program PowerShell script However, even after looking at this and many other threads on "CreateProcess". I cant seem to get the function to work properly.

Can you possibly give me an example of what it should look like to call an application with arguments?

I placed the following (as well as several variations of this) in the "Run Program When This Alert Triggered" under General Settings

C:\Windows\System32\cmd.exe /C C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe -file C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\SMS.ps1

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account