Private/New-StaticRouteDialupTunnel.ps1

#Used By New-DialUPTunnelDynamic
#Used By New-DialUPTunnelStatic

Function New-StaticRouteTunnel {
    <#
    .Description
    Creates Static routes for a tunnel.
    #>


    [CmdletBinding()]
    Param (
    )

    $DestinationAddressName = Read-Host "Specify the Destination Address Object or Group Name (Destination Address/Group)"

    Write-Output "
config router static
    edit 0
        set distance 254
        set blackhole enable
        set dstaddr ""$DestinationAddressName""
    next
end
"

}