Forum Discussion
DrCyberg
Jul 29, 2023Copper Contributor
Iexpress startup error
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"
Observation:
- 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
No RepliesBe the first to reply