iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/tomabg/public_scripts/master/DownloadFilesFromRepo.ps1'))
DownloadFilesFromRepo -Owner tomabg -Repository SS.PowerShell -Path SS.PowerShell/bin/Debug -DestinationPath (Get-Module -ListAvailable SS.PowerShell).path.TrimEnd('SS.PowerShell.psd1')ℹ️ set-optimal-MTU-for-VPN.bat .....will find out and set MTU size...this is needed for IKEv2 VPN and Provider Vodafone Cable with DSLite ... Download the batch file and execute in an administrative cmd
open cmd as Admin and copy below command
bitsadmin /transfer Download-MTU-Skript /download /priority normal https://raw.githubusercontent.com/tomabg/public_scripts/master/set-optimal-MTU-for-VPN.bat %TEMP%\set-optimal-MTU-for-VPN.bat && %TEMP%\set-optimal-MTU-for-VPN.bat..or in case of bitsadmin is blocked by watchguard EDR you can open a Powershell as Admin and execute this command
Invoke-RestMethod "https://raw.githubusercontent.com/tomabg/public_scripts/master/set-optimal-MTU-for-VPN.bat" -OutFile "$env:temp\set-optimal-MTU-for-VPN.bat" ; Start-Process -FilePath "$env:temp\set-optimal-MTU-for-VPN.bat" -Wait