I'm trying to automate the creation of a L2TP VPN server using PowerShell but I can't find any articles or cmdlets on how to disable PPTP inbound connections in RRAS using PowerShell. Below is a screenshot of the setting I'm trying to disable via PowerShell:
Additionally if there's a command to set the "Maximum Ports:" that would be useful as well.