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.
OpenVPNConnect.exe with Powershell
-
- OpenVpn Newbie
- Posts: 1
- Joined: Tue Aug 29, 2023 12:10 pm
- JosephS
- OpenVPN Inc.
- Posts: 54
- Joined: Fri Feb 17, 2023 5:15 pm
Re: OpenVPNConnect.exe with Powershell
Hi RGB-Error,
Could you try to run the same CLI commands while you have Powershell launched as a non-admin/regular user?
Regards,
JosephS
You are probably running Powershell in admin mode.When I use the Powershell nothing returns or the retun of the exe looks empty.
Could you try to run the same CLI commands while you have Powershell launched as a non-admin/regular user?
Regards,
JosephS