New-CMVpnProfileConfigurationItem

Creates a VPN profile.

Syntax

New-CMVpnProfileConfigurationItem
   [-Confirm]
   -DesiredConfigurationDigestPath <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [<CommonParameters>]

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.

Examples

Example 1: Create a VPN profile configuration item

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

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

Required Parameters

-DesiredConfigurationDigestPath

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

Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

Indicates that wildcard handling is disabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False