VPN Client Cmdlets in Windows PowerShell

Windows PowerShell® ist eine aufgabenbasierte Befehlszeilenshell- und Skriptsprache, die speziell für die Systemverwaltung entwickelt wurde. Dieses Referenzthema für IT-Profis bietet Unterstützung beim Einsatz von Windows PowerShell-Cmdlets, um Skripts für Aufgaben zu erstellen und sie zu automatisieren.

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.

Hinweis

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

Um weitere Informationen zur Syntax beliebiger Cmdlets zu erhalten, verwenden Sie das Get-Help <Cmdlet-Name>-Cmdlet, wobei <Cmdlet-Name> der Name des Cmdlets ist, zu dem Sie Informationen wünschen. Um ausführlichere Informationen zu erhalten, können Sie die folgenden Cmdlets ausführen:

Get-Help <Cmdlet-Name> -Detailed
Get-Help <Cmdlet-Name> -Examples
Get-Help <Cmdlet-Name> -Full