Page 1 of 1

OpenVPNConnect.exe with Powershell

Posted: Tue Aug 29, 2023 12:28 pm
by RGB-Error
Hello,

i have a issue with the OpenVPNConnect.exe and Powershell.
As long i use the CMD of Windows the output of all commands working fine (example: "OpenVPNConnect.exe --help" or "OpenVPNConnect.exe --lists-certificates")
When I use the Powershell nothing returns or the retun of the exe looks empty. In every case, there is something wrong. Even if i try to put the return value into a variabel an error appears. ($test = OpenVPNConnect.exe --help)

"A JavaScript error occurred in the main porcess"
"Uncaught Exception
Error EPIPE: broken pipe, write ..."


My questions:
- Is this normal and a limitation of the OpenVPN Connect client?
- How is it possible to use Powershell with the return values from OpenVPN Connect?

"build-number": "3150"
"version": "3.4.1"

Thank you for your time an effort.

Re: OpenVPNConnect.exe with Powershell

Posted: Fri Sep 08, 2023 6:58 am
by JosephS
Hi RGB-Error,
When I use the Powershell nothing returns or the retun of the exe looks empty.
You are probably running Powershell in admin mode.
Could you try to run the same CLI commands while you have Powershell launched as a non-admin/regular user?

Regards,
JosephS