VPN Client Cmdlets in Windows PowerShell

Windows PowerShell® は、特にシステム管理用に設計された、タスク ベースのコマンド ライン シェルおよびスクリプト言語です。情報技術 (IT) プロフェッショナル向けのこの参照トピックは、スクリプトを作成してタスクを自動化するために Windows PowerShell コマンドレットを活用するうえでのサポートとなります。

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.

注意

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

任意のコマンドレットの詳細について、またはコマンドレットの構文の詳細については、Get-Help <コマンドレット名> コマンドレットを使用します。ここで、<コマンドレット名> は、調べようとするコマンドレットの名前です。詳細については、次のコマンドレットを実行できます。

Get-Help <コマンドレット名> -Detailed
Get-Help <コマンドレット名> -Examples
Get-Help <コマンドレット名> -Full