Greetings,
I'm playing around with using the OpenVPN-GUI/Service to connect to a server however I'm getting no output when running the commands from powershell, via a Scheduled Task.
I am 100% certain the scheduled task executes, debug from the powershell script goes into EventViewer, however, when it comes time to doing the OpenVpn-GUI --connect <profile>, it doesn't give me any output.
I've assumed this was due to a lack of administrator privilages.
So I uninstalled and reinstalled and selected to install the service this time.
I've since tried to run openvpn --config <profile> and an assortment of other commands, none of actually worked within the context of the MSA running from a scheduled task.
I've read and re-read
https://openvpn.net/community-resources/controlling-a-running-openvpn-process/ and apparently missed something obviously very simply.
Any help would be appreciated.