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...
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...