New-CMVpnProfileConfigurationItem

New-CMVpnProfileConfigurationItem

Creates a VPN profile.

Syntax

Parameter Set: Default
New-CMVpnProfileConfigurationItem -DesiredConfigurationDigestPath <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The New-CMVpnProfileConfigurationItem cmdlet creates a virtual private network (VPN) profile. Client computers use VPN profiles to remotely connect to a company network over the Internet.

Parameters

-DesiredConfigurationDigestPath<String>

Specifies a path to the configuration data stored as a digest.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Create a VPN profile configuration item

This command creates a VPN profile configuration item by using the digest file C:\Digests\Vpn.xml.

PS C:\> New-CMVpnProfileConfigurationItem -DesiredConfigurationDigestPath "C:\Digests\Vpn.xml"

Copy-CMVpnProfileConfigurationItem

Get-CMVpnProfileConfigurationItem

Remove-CMVpnProfileConfigurationItem

Set-CMVpnProfileConfigurationItem