PowerShell module to control Mullvad VPN logic. https://mullvad.net/en/
Checks the upstream version and keeps the current up to date.
Downloads and installs the latest Mullvad update as needed.
Sets the account number (token) to the settings.
Verifies that an account is set.
Controls the Get-MullvadAccount and Set-MullvadAccount as needed.
Returns the VPN status and if a connection is required at runtime, it will force different logic to ensure connectivity.
Initiates Mullvad VPN connection.
Reconnects / reattempts a VPN connection.
Disconnects the Mullvad VPN connection.
Completes a factory reset of the Mullvad configurations.