OpenVPNConnect.exe with Powershell
Posted: Tue Aug 29, 2023 12:28 pm
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.
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.