Set-VpnConnectionTriggerDnsConfiguration tells me I have no DnsSuffix set for VPN connection, when it does

G

GBITGlenn

PS C:\mydir> Add-VpnConnection -Name "Contoso" -ServerAddress "test.contoso.com" -DnsSuffix "contoso" -TunnelType IKEv2 -EncryptionLevel Required -AuthenticationMethod EAP -SplitTunneling -AllUserConnection


PS C:\mydir> Get-VpnConnection

Name : Contoso
ServerAddress : test.contoso.com
DnsSuffix : contoso
IdleDisconnectSeconds : 0



PS C:\mydir> Set-VpnConnectionTriggerDnsConfiguration -ConnectionName "Contoso" -DnsIPAddress 192.168.6.2 -DnsSuffix "contoso" -PassThru

Set-VpnConnectionTriggerDnsConfiguration : This DnsSuffix is not configured as part of the connection profile. : The parameter is incorrect.

Continue reading...
 
Back
Top Bottom