Iexpress startup error

Copper Contributor

Hi Masters!


I created an automated script using Powershell and I want to run it with iexpress software.

Here is the startup code (AppLaunched):


powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "start-process PowerShell -ArgumentList '-ExecutionPolicy Bypass','-File ikev2-ipsec-vpn-settings.ps1' -Verb RunAs"





  • If I enter text at "Finished message", the script runs, it works correctly.
  • BUT if I don't enter text in "Finished message" (say "No message"), the powershell window just flashes and then disappears, i.e. nothing happens.


Has anyone else had this kind of error?


Thank you!


Regards: DrCyberg

0 Replies