VPN Client Cmdlets in Windows PowerShell

Windows PowerShell® est un interpréteur en ligne de commande et un langage de script basé sur des tâches, conçu spécialement pour l’administration système. Cette rubrique de référence pour les informaticiens fournit une assistance sur l’utilisation des applets de commande Windows PowerShell pour écrire des scripts et automatiser des tâches.

VPN Client

This reference provides cmdlet descriptions and syntax for all VPN Client-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Cmdlet Description

Add-VpnConnection

Adds a VPN connection to the Connection Manager phone book.

Add-VpnConnectionRoute

Adds a route to a VPN connection.

Add-VpnConnectionTriggerApplication

Adds applications which automatically trigger a VPN connection when launched.

Add-VpnConnectionTriggerTrustedNetwork

Adds DNS suffixes as trusted networks to the VPN profile.

Get-VpnConnection

Retrieves the specified VPN connection profile information.

Get-VpnConnectionTrigger

Gets trigger properties of a VPN connection.

New-EapConfiguration

Generates a new XML file with the specified EAP configuration.

New-VpnServerAddress

Creates a VPN server address object.

Remove-VpnConnection

Removes the specified VPN connection profile.

Remove-VpnConnectionRoute

Removes a route from a VPN connection.

Remove-VpnConnectionTriggerApplication

Removes a trigger application from a VPN connection.

Remove-VpnConnectionTriggerTrustedNetwork

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

Set-VpnConnection

Changes the configuration settings of an existing VPN connection profile.

Set-VpnConnectionIPsecConfiguration

Sets the IPSec parameters of a VPN connection.

Set-VpnConnectionProxy

Configures web proxy information for the specified VPN connection.

Notes

To list all the cmdlets that are available, use the Get-Command –Module VpnClient cmdlet.

Pour plus d’informations sur les applets de commande ou leur syntaxe, utilisez l’applet de commande Get-Help <nom de l’applet de commande>, où <nom de l’applet de commande> est le nom de l’applet de commande que vous voulez rechercher. Pour plus d’informations, vous pouvez exécuter les applets de commande suivantes :

Get-Help <nom de l’applet de commande> -Detailed
Get-Help <nom de l’applet de commande> -Examples
Get-Help <nom de l’applet de commande> -Full