PowerShell Logo Small

Remove-VpnConnectionTriggerTrustedNetwork



This is the built-in help made by Microsoft for the command 'Remove-VpnConnectionTriggerTrustedNetwork', in PowerShell version 4 - as retrieved from Windows version 'Microsoft Windows 8.1 Enterprise' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Removes DNS suffixes previously configured as trusted networks from the VPN profile.

SYNTAX


Remove-VpnConnectionTriggerTrustedNetwork [-ConnectionName] <String> [-DnsSuffix] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-Force] [-PassThru] [-ThrottleLimi
t <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-VpnConnectionTriggerTrustedNetwork cmdlet removes Domain Name System (DNS) suffixes previously configured as trusted networks from the VPN profile. When yo
u remove a DNS suffix from the virtual private network (VPN) profile, the VPN connection does not automatically start when the DNS suffix is present on the physical i
nterface on the client.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=290787
Add-VpnConnectionTriggerTrustedNetwork

REMARKS

<

Examples


Example 1: Remove trusted networks from a VPN profile

PS C:\> Remove-VpnConnectionTriggerTrustedNetwork -ConnectionName "ContosoVPN" -DnsSuffix "newyork.contoso.com","washington.contoso.com" -PassThru -Force
ConnectionName : Contoso

DnsSuffix : {newyork.contoso.com, washington.contoso.com}



This command removes trusted networks from the ContosoVPN VPN profile.