PowerShell Logo Small

Add-VpnConnectionTriggerTrustedNetwork



This is the built-in help made by Microsoft for the command 'Add-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

Adds DNS suffixes as trusted networks to the VPN profile.

SYNTAX


Add-VpnConnectionTriggerTrustedNetwork [-ConnectionName] <String> [-DnsSuffix] <String[]> [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [
-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Add-VpnConnectionTriggerTrustedNetwork cmdlet adds Domain Name System (DNS) suffixes as trusted networks to the virtual private network (VPN) profile. When a DNS
suffix that you add to the VPN profile is present on the physical interface on the client, the VPN connection does not start even if the client tries to access an app
lication that is part of triggering properties.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=290778
Remove-VpnConnectionTriggerTrustedNetwork
Get-VpnConnectionTrigger

REMARKS

<

Examples


Example 1: Add trusted networks to a VPN profile

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


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



This command adds trusted networks to the Contoso VPN profile.