This script can be used in a github action to connect to a server inside a meraki vpn. This allows serverless jobs to be created and hosted as github actions.
As is, this needs a windows vm for rasdial usage. As of this writing, this will double the minute cost on github.
Another item of note is that scheduled github actions seem to be more of a 'suggested time' when it comes to cron triggers. A job scheduled to run on the hour every hour may run 15 minutes after the hour, for example.
This gives a pretty simple way to migrate jobs from a server on LAN to outside a LAN without having to buy a server.
Note that in the example github action I am splatting the values and also using a start-process so I can just return the exitcode. This can be tweaked to taste. This entire process would work with other VPNs as well, but need to be tweaked accordingly.