MDM_VPNv2_01 class

The MDM_VPNv2_01 class allows configuration of the VPN profile of the device.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[InPartition("local-system", "local-user"), dynamic, provider("DMWmiBridgeProv")]
class MDM_VPNv2_01
{
  string  InstanceID;
  string  ParentID;
  string  EdpModeId;
  boolean RememberCredentials;
  boolean AlwaysOn;
  string  DnsSuffix;
  boolean ByPassForLocal;
  string  TrustedNetworkDetection;
  string  ProfileXML;
  boolean LockDown;
};

Members

The MDM_VPNv2_01 class has these types of members:

Properties

The MDM_VPNv2_01 class has these properties.

AlwaysOn

Data type: boolean

Access type: Read/write

ByPassForLocal

Data type: boolean

Access type: Read/write

DnsSuffix

Data type: string

Access type: Read/write

EdpModeId

Data type: string

Access type: Read/write

InstanceID

Data type: string

Access type: Read-only

Qualifiers: key

Identifies the name of the parent node. For this class, the string is the VPN profile name.

LockDown

Data type: boolean

Access type: Read/write

ParentID

Data type: string

Access type: Read-only

Qualifiers: key

Describes the full path to the parent node. For this class, the string is "./Vendor/MSFT/VPNv2"

ProfileXML

Data type: string

Access type: Read/write

RememberCredentials

Data type: boolean

Access type: Read/write

TrustedNetworkDetection

Data type: string

Access type: Read/write

Requirements

Requirement Value
Minimum supported client
Windows 10 [desktop apps only]
Minimum supported server
None supported
Namespace
Root\CIMv2\MDM\DMMap
MOF
DMWmiBridgeProv.mof
DLL
DMWmiBridgeProv.dll

See also

Using PowerShell scripting with the WMI Bridge Provider