PS_VpnConnection, ROOT\Microsoft\Windows\RemoteAccess\Client

Class | Methods (6) | Properties (32) | Qualifiers (6) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

GCW profile management class

PS_VpnConnection methods

PS_VpnConnection has 6 methods (6 Local)

NameOriginReturn
AddPS_VpnConnectionuint32 {'out':True}
GetPS_VpnConnectionuint32 {'out':True}
NewByThirdPartyPS_VpnConnectionuint32 {'out':True}
RemovePS_VpnConnectionuint32 {'out':True}
SetPS_VpnConnectionuint32 {'out':True}
SetByThirdPartyPS_VpnConnectionuint32 {'out':True}

PS_VpnConnection properties

PS_VpnConnection has 32 properties (32 Local)

NameOriginCIMType
key
AllUserConnection
PS_VpnConnection11 [boolean]
ApplicationIDPS_VpnConnection8 [string]
AuthenticationMethodPS_VpnConnection8 [string]
ConnectionStatusPS_VpnConnection8 [string]
CustomConfigurationPS_VpnConnection8 [string]
DnsConfigPS_VpnConnection13 [object:PS_VpnConnectionTriggerDnsConfiguration]
DnsSuffixPS_VpnConnection8 [string]
DnsSuffixSearchListPS_VpnConnection8 [string]
EapConfigXmlStreamPS_VpnConnection8 [string]
EncryptionLevelPS_VpnConnection8 [string]
GuidPS_VpnConnection8 [string]
IdleDisconnectSecondsPS_VpnConnection19 [uint32]
IsAutoTriggerEnabledPS_VpnConnection11 [boolean]
L2tpIPsecAuthPS_VpnConnection8 [string]
L2tpPskPS_VpnConnection8 [string]
MachineCertificateEKUFilterPS_VpnConnection8 [string]
MachineCertificateIssuerFilterPS_VpnConnection8 [string]
key
Name
PS_VpnConnection8 [string]
NapStatePS_VpnConnection8 [string]
PlugInApplicationIDPS_VpnConnection8 [string]
ProfileTypePS_VpnConnection8 [string]
ProvisioningAuthorityPS_VpnConnection8 [string]
ProxyPS_VpnConnection13 [object:PS_VpnConnectionProxy]
RememberCredentialPS_VpnConnection11 [boolean]
RoutesPS_VpnConnection13 [object:PS_VpnConnectionRoute]
ServerAddressPS_VpnConnection8 [string]
ServerListPS_VpnConnection13 [object:PS_VpnServerAddress]
SplitTunnelingPS_VpnConnection11 [boolean]
TrustedNetworkPS_VpnConnection8 [string]
TunnelTypePS_VpnConnection8 [string]
UseWinlogonCredentialPS_VpnConnection11 [boolean]
VpnConfigurationXmlPS_VpnConnection8 [string]

Detailed description of PS_VpnConnection methods

Local methods (6) of PS_VpnConnection class

Add method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Namestring0-{'Description':'Specifies the name of the VPN connection profile to be created.','In':True}
ServerAddressstring1-{'Description':'Specifies the address of the remote VPN server to which the client will connect. Can be specified as a URL, friendly name, IPv4, or IPv6 address.','In':True}
TunnelTypestring2-{'Description':'Specifies the type of tunnel used for the VPN connection. Options include PPTP, L2TP (for L2TP/IPSec), SSTP, IKEv2 and Automatic (IKEv2, L2TP)','In':True,'ValueMap':['Pptp', 'L2tp', 'Ikev2', 'Sstp'],'Values':['Pptp', 'L2tp', 'Ikev2', 'Sstp']}
AllUserConnectionboolean3-{'Description':'Specifies that the VPN connection should be added to the AllUserConnection phone book entries.','In':True}
RememberCredentialboolean4-{'Description':'Specifies whether the credentials supplied at the time of first successful connection should be stored in the cache.','In':True}
IdleDisconnectSecondsuint325-{'Description':'Idle time before the VPN connection is disconnected','In':True}
DnsSuffixstring6-{'Description':'DNS suffix of the VPN connection','In':True}
SplitTunnelingboolean7-{'Description':'Specifies that split tunnel should be enabled for the VPN connection profile. If this parameter is not specified, split tunneling is disabled.','In':True}
Forceboolean8-{'Description':'If L2TP is used, enforces supplying the Pre-Shared Key value over unsecure channel. ','In':True}
PassThruboolean9-{'Description':'Returns the VpnConnection object that contains the VpnConnection configuration settings. ','In':True}
L2tpPskstring10-{'Description':'Specifies the value of Pre-Shared Key to be used for L2TP authentication. If this parameter is not specified, by default a certificate will be used for L2TP.','In':True}
UseWinlogonCredentialboolean11-{'Description':'Specifies that MSCHAPv2 should be used as the authentication method, and Windows logon credentials should be used automatically when connecting with the VPN connection profile.','In':True}
EapConfigXmlStreamstring12-{'Description':'Specifies the contents of the EAP XML configuration file (including the EAP method ID).','In':True}
AuthenticationMethodstring13-{'Description':'Specifies the authentication method to be used for the VPN connection. Available methods include PAP, CHAP, MSCHAPv2, and EAP.','In':True,'ValueMap':['Pap', 'Chap', 'MsChapv2', 'Eap'],'Values':['Pap', 'Chap', 'MsChapv2', 'Eap']}
EncryptionLevelstring14-{'Description':'Specifies the encryption level for the VPN connection.','In':True,'ValueMap':['NoEncryption', 'Optional', 'Required', 'Maximum'],'Values':['NoEncryption', 'Optional', 'Required', 'Maximum']}
MachineCertificateIssuerFilteruint815-{'Description':'Certificate issuer filter for IKEv2 machine certificate selection','In':True}
MachineCertificateEKUFilterstring16-{'Description':'EKU filter for IKEv2 machine certificate selection','In':True}
ServerListobject:VpnServerAddress17-{'Description':'List of VPN servers the VPN client can connect to','EmbeddedInstance':'VpnServerAddress','In':True}
cmdletOutputobject:VpnConnection18-{'Description':'VpnConnection consists of the following fields: Name (string) Specifies the name of the VPN connection profile. ServerAddress (string) Specifies the address of the Remote VPN Server. RememberCredential (boolean) Specifies whether the credentials for the VPN Connection are stored in cache after first successful connection. SplitTunneling (boolean) Specifies whether split tunneling is enabled or disabled. UseWinlogonCredential (boolean) Specifies whether the Windows logon user credentials should be automatically for VPN connection profile. Guid (Guid) Specifies the read-only GUID that represents the phone-book entry ConnectionStatus (string) Specifies the connection status of the VPN connection profile. Available values: Connected, NotConnected, Connecting, Limited, Dormant IdleDisconnectSeconds (uint32) Specifies the idle time before the VPN connection is disconnected ServerList (VpnServerAddress[]) Specifies the address of the Remote VPN Server. Routes (MSFT_NetRoute[]) Specifies the route to be plumbed. VpnTrigger (VpnConnectionTrigger) Specifies Trigger properties of VPN connection. DnsSuffix (string) Specifies the connection specific DNS suffix AllUserConnection (boolean) Specifies that the VPN connection is in AllUserConnection phone book entries. TunnelType (string) Specifies the VPN Tunnel Type in the VPN Connection profile. Available values: Automatic, Pptp, L2tp, Sstp, Ikev2 AuthenticationMethod (string[]) Specifies the authentication method set configured for the VPN Connection profile. Available values: Pap, Chap, MsChapv2, Eap EncryptionLevel (string) Specifies the encryption level for the VPN connection profile. Available values: NoEncrytpion, Optional, Required, Maximum L2tpIPsecAuth (string) Specifies whether the L2TP/IPSec authentication uses a certificate or Pre-Shared key. Available values: Certificate, Psk EapConfigXmlStream (XML) Specifies the contents of the XML file containing the EAP Configuration for the VPN connection profile. NapState (string) Specifies the NAP status for PEAP authentication method. Available values: Success, NotNapCapable, NoConnection, Error MachineCertifiacateEKUFilter (string[]) Specifies the EKU filters for Machine certificate selection MachineCertificateIssuerFilter (X509Certificate2) Specifies the Certificate Issuer filter for machine certificate selection ','EmbeddedInstance':'VpnConnection','Out':True}
Description'Adds a VPN connection to the Connection Manager phonebook. '
implementedTrue
staticTrue
Add method is in 5 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 17 namespaces
Get method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Namestring0-{'Description':'Specifies the name of the VPN connection profile to be retrieved.','In':True}
AllUserConnectionboolean1-{'Description':'Specifies that the VPN connection should be retrieved from the AllUserConnection phone book entries.','In':True}
cmdletOutputobject:VpnCommonConfig2-{'Description':'VpnCommonConfig consists of the following fields: Name (string) Specifies the name of the VPN connection profile. ServerAddress (string) Specifies the address of the Remote VPN Server. RememberCredential (boolean) Specifies whether the credentials for the VPN Connection are stored in cache after first successful connection. SplitTunneling (boolean) Specifies whether split tunneling is enabled or disabled. UseWinlogonCredential (boolean) Specifies whether the Windows logon user credentials should be automatically for VPN connection profile. Guid (Guid) Specifies the read-only GUID that represents the phone-book entry ConnectionStatus (string) Specifies the connection status of the VPN connection profile. Available values: Connected, NotConnected, Connecting, Limited, Dormant IdleDisconnectSeconds (uint32) Specifies the idle time before the VPN connection is disconnected ServerList (VpnServerAddress[]) Specifies the address of the Remote VPN Server. Routes (MSFT_NetRoute[]) Specifies the route to be plumbed. VpnTrigger (VpnConnectionTrigger) Specifies Trigger properties of VPN connection. DnsSuffix (string) Specifies the connection specific DNS suffix Inbox GCW profile consist of following additional fields: AllUserConnection (boolean) Specifies that the VPN connection is in AllUserConnection phone book entries. TunnelType (string) Specifies the VPN Tunnel Type in the VPN Connection profile. Available values: Automatic, Pptp, L2tp, Sstp, Ikev2 AuthenticationMethod (string[]) Specifies the authentication method set configured for the VPN Connection profile. Available values: Pap, Chap, MsChapv2, Eap EncryptionLevel (string) Specifies the encryption level for the VPN connection profile. Available values: NoEncrytpion, Optional, Required, Maximum L2tpIPsecAuth (string) Specifies whether the L2TP/IPSec authentication uses a certificate or Pre-Shared key. Available values: Certificate, Psk EapConfigXmlStream (XML) Specifies the contents of the XML file containing the EAP Configuration for the VPN connection profile. NapState (string) Specifies the NAP status for PEAP authentication method. Available values: Success, NotNapCapable, NoConnection, Error MachineCertifiacateEKUFilter (string[]) Specifies the EKU filters for Machine certificate selection MachineCertificateIssuerFilter (X509Certificate2) Specifies the Certificate Issuer filter for machine certificate selection 3rd Party profile consist of following additional fields: PlugInApplicationID (string) Specifies Identifier for the third party application. CustomConfiguration (string) Specifies custom configuration used by Third Party VPN plugins. ','EmbeddedInstance':'VpnCommonConfig','Out':True}
Description'Retrieves the VPN connection profile specified by the parameters.'
implementedTrue
staticTrue
Get method is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 19 namespaces
NewByThirdParty method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Namestring0-{'Description':'Specifies the name of the VPN connection profile to be created.','In':True}
ServerAddressstring1-{'Description':'Specifies the address of the remote VPN server to which the client will connect. Can be specified as a URL, friendly name, IPv4, or IPv6 address.','In':True}
RememberCredentialboolean2-{'Description':'Specifies whether the credentials supplied at the time of first successful connection should be stored in the cache.','In':True}
SplitTunnelingboolean3-{'Description':'Specifies that split tunnel should be enabled for the VPN connection profile. If this parameter is not specified, split tunneling is disabled.','In':True}
PassThruboolean4-{'Description':'Returns the VpnConnection object that contains the VpnConnection configuration settings. ','In':True}
Forceboolean5-{'Description':'If L2TP is used, enforces supplying the Pre-Shared Key value over unsecure channel. ','In':True}
ServerListobject:VpnServerAddress6-{'Description':'List of VPN servers the VPN client can connect to','EmbeddedInstance':'VpnServerAddress','In':True}
DnsSuffixstring7-{'Description':'DNS suffix of the VPN connection','In':True}
IdleDisconnectSecondsuint328-{'Description':'Idle time before the VPN connection is disconnected','In':True}
PlugInApplicationIDstring9-{'Description':'Identifier for the third party application','In':True}
CustomConfigurationstring10-{'Description':'Used by Third Party VPN plugins to specify custom configuration','In':True}
cmdletOutputobject:ThirdPartyVpnConnection11-{'Description':'ThirdPartyVpnConnection consists of the following fields: Name (string) Specifies the name of the VPN connection profile. ServerAddress (string) Specifies the address of the Remote VPN Server. RememberCredential (boolean) Specifies whether the credentials for the VPN Connection are stored in cache after first successful connection. SplitTunneling (boolean) Specifies whether split tunneling is enabled or disabled. UseWinlogonCredential (boolean) Specifies whether the Windows logon user credentials should be automatically for VPN connection profile. Guid (Guid) Specifies the read-only GUID that represents the phone-book entry ConnectionStatus (string) Specifies the connection status of the VPN connection profile. Available values: Connected, NotConnected, Connecting, Limited, Dormant IdleDisconnectSeconds (uint32) Specifies the idle time before the VPN connection is disconnected ServerList (VpnServerAddress[]) Specifies the address of the Remote VPN Server. Routes (MSFT_NetRoute[]) Specifies the route to be plumbed. VpnTrigger (VpnConnectionTrigger) Specifies Trigger properties of VPN connection. DnsSuffix (string) Specifies the connection specific DNS suffix PlugInApplicationID (string) Specifies Identifier for the third party application. CustomConfiguration (string) Specifies custom configuration used by Third Party VPN plugins. ','EmbeddedInstance':'ThirdPartyVpnConnection','Out':True}
Description'Adds a Third Party VPN connection to the Connection Manager phonebook. '
implementedTrue
staticTrue
NewByThirdParty method is in 1 class (PS_VpnConnection) of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
Remove method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Namestring0-{'Description':'Specifies the name of the VPN connection profile to be removed.','In':True}
Forceboolean1-{'Description':'Forces the removal of the VPN profile from the phonebook.','In':True}
PassThruboolean2-{'Description':'Returns the VpnConnection object that contains the VpnConnection configuration settings. ','In':True}
AllUserConnectionboolean3-{'Description':'Specifies that the VPN connection should be removed from the AllUserConnection phone book entries.','In':True}
cmdletOutputobject:VpnCommonConfig4-{'Description':'VpnCommonConfig consists of the following fields: Name (string) Specifies the name of the VPN connection profile. ServerAddress (string) Specifies the address of the Remote VPN Server. RememberCredential (boolean) Specifies whether the credentials for the VPN Connection are stored in cache after first successful connection. SplitTunneling (boolean) Specifies whether split tunneling is enabled or disabled. UseWinlogonCredential (boolean) Specifies whether the Windows logon user credentials should be automatically for VPN connection profile. Guid (Guid) Specifies the read-only GUID that represents the phone-book entry ConnectionStatus (string) Specifies the connection status of the VPN connection profile. Available values: Connected, NotConnected, Connecting, Limited, Dormant IdleDisconnectSeconds (uint32) Specifies the idle time before the VPN connection is disconnected ServerList (VpnServerAddress[]) Specifies the address of the Remote VPN Server. Routes (MSFT_NetRoute[]) Specifies the route to be plumbed. VpnTrigger (VpnConnectionTrigger) Specifies Trigger properties of VPN connection. DnsSuffix (string) Specifies the connection specific DNS suffix Inbox GCW profile consist of following additional fields: AllUserConnection (boolean) Specifies that the VPN connection is in AllUserConnection phone book entries. TunnelType (string) Specifies the VPN Tunnel Type in the VPN Connection profile. Available values: Automatic, Pptp, L2tp, Sstp, Ikev2 AuthenticationMethod (string[]) Specifies the authentication method set configured for the VPN Connection profile. Available values: Pap, Chap, MsChapv2, Eap EncryptionLevel (string) Specifies the encryption level for the VPN connection profile. Available values: NoEncrytpion, Optional, Required, Maximum L2tpIPsecAuth (string) Specifies whether the L2TP/IPSec authentication uses a certificate or Pre-Shared key. Available values: Certificate, Psk EapConfigXmlStream (XML) Specifies the contents of the XML file containing the EAP Configuration for the VPN connection profile. NapState (string) Specifies the NAP status for PEAP authentication method. Available values: Success, NotNapCapable, NoConnection, Error MachineCertifiacateEKUFilter (string[]) Specifies the EKU filters for Machine certificate selection MachineCertificateIssuerFilter (X509Certificate2) Specifies the Certificate Issuer filter for machine certificate selection 3rd Party profile consist of following additional fields: PlugInApplicationID (string) Specifies Identifier for the third party application. CustomConfiguration (string) Specifies custom configuration used by Third Party VPN plugins. ','EmbeddedInstance':'VpnCommonConfig','Out':True}
Description'Removes the specified VPN connection profile. '
implementedTrue
staticTrue
Remove method is in 5 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 18 namespaces
Set method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ServerAddressstring0-{'Description':'Specifies the address of the remote VPN server to which the client will connect. Can be specified as a URL, IPv4, or IPv6 address.','In':True}
AllUserConnectionboolean1-{'Description':'Specifies that the VPN connection being modified is in the AllUserConnection phone book entries. ','In':True}
SplitTunnelingboolean2-{'Description':'Specifies that split tunnel should be enabled for the VPN connection profile. ','In':True}
RememberCredentialboolean3-{'Description':'Specifies whether the credentials supplied at the time of first successful connection should be stored in the cache.','In':True}
TunnelTypestring4-{'Description':'Specifies the type of tunnel used for the VPN connection. Options include PPTP, L2TP (for L2TP/IPSec), SSTP, IKEv2 and Automatic (IKEv2, L2TP)','In':True,'ValueMap':['Pptp', 'L2tp', 'Sstp', 'Ikev2', 'Automatic'],'Values':['Pptp', 'L2tp', 'Sstp', 'Ikev2', 'Automatic']}
PassThruboolean5-{'Description':'Returns the VpnConnection object that contains the VpnConnection configuration settings. ','In':True}
Forceboolean6-{'Description':'If L2TP is used, enforces supplying the Pre-Shared Key value over unsecure channel.','In':True}
L2tpPskstring7-{'Description':'Specifies the value of Pre-Shared Key to be used for L2TP authentication. If this parameter is not specified, by default a certificate will be used for L2TP.','In':True}
AuthenticationMethodstring8-{'Description':'Specifies the authentication method to be used for the VPN connection. Available methods include PAP, CHAP, MSCHAPv2, and EAP.','In':True,'ValueMap':['Pap', 'Chap', 'MsChapv2', 'Eap', 'MachineCertificate'],'Values':['Pap', 'Chap', 'MsChapv2', 'Eap', 'MachineCertificate']}
EapConfigXmlStreamstring9-{'Description':'Specifies the contents of the EAP XML configuration file (including the EAP method ID).','In':True}
Namestring10-{'Description':'Specifies the name of the VPN connection profile to be modified. ','In':True}
UseWinlogonCredentialboolean11-{'Description':'Specifies that MSCHAPv2 should be used as the authentication method, and Windows logon credentials should be used automatically when connecting with the VPN connection profile.','In':True}
EncryptionLevelstring12-{'Description':'Specifies the encryption level for the VPN connection.','In':True,'ValueMap':['NoEncryption', 'Optional', 'Required', 'Maximum', 'Custom'],'Values':['NoEncryption', 'Optional', 'Required', 'Maximum', 'Custom']}
MachineCertificateEKUFilterstring13-{'Description':'EKU filter for IKEv2 machine certificate selection','In':True}
MachineCertificateIssuerFilteruint814-{'Description':'Certificate issuer filter for IKEv2 machine certificate selection','In':True}
ServerListobject:VpnServerAddress15-{'Description':'List of VPN servers the VPN client can connect to','EmbeddedInstance':'VpnServerAddress','In':True}
IdleDisconnectSecondsuint3216-{'Description':'Idle time before the VPN connection is disconnected','In':True}
DnsSuffixstring17-{'Description':'DNS suffix of the VPN connection','In':True}
cmdletOutputobject:VpnConnection18-{'Description':'VpnConnection consists of the following fields: Name (string) Specifies the name of the VPN connection profile. ServerAddress (string) Specifies the address of the Remote VPN Server. RememberCredential (boolean) Specifies whether the credentials for the VPN Connection are stored in cache after first successful connection. SplitTunneling (boolean) Specifies whether split tunneling is enabled or disabled. UseWinlogonCredential (boolean) Specifies whether the Windows logon user credentials should be automatically for VPN connection profile. Guid (Guid) Specifies the read-only GUID that represents the phone-book entry ConnectionStatus (string) Specifies the connection status of the VPN connection profile. Available values: Connected, NotConnected, Connecting, Limited, Dormant IdleDisconnectSeconds (uint32) Specifies the idle time before the VPN connection is disconnected ServerList (VpnServerAddress[]) Specifies the address of the Remote VPN Server. Routes (MSFT_NetRoute[]) Specifies the route to be plumbed. VpnTrigger (VpnConnectionTrigger) Specifies Trigger properties of VPN connection. DnsSuffix (string) Specifies the connection specific DNS suffix AllUserConnection (boolean) Specifies that the VPN connection is in AllUserConnection phone book entries. TunnelType (string) Specifies the VPN Tunnel Type in the VPN Connection profile. Available values: Automatic, Pptp, L2tp, Sstp, Ikev2 AuthenticationMethod (string[]) Specifies the authentication method set configured for the VPN Connection profile. Available values: Pap, Chap, MsChapv2, Eap EncryptionLevel (string) Specifies the encryption level for the VPN connection profile. Available values: NoEncrytpion, Optional, Required, Maximum L2tpIPsecAuth (string) Specifies whether the L2TP/IPSec authentication uses a certificate or Pre-Shared key. Available values: Certificate, Psk EapConfigXmlStream (XML) Specifies the contents of the XML file containing the EAP Configuration for the VPN connection profile. NapState (string) Specifies the NAP status for PEAP authentication method. Available values: Success, NotNapCapable, NoConnection, Error MachineCertifiacateEKUFilter (string[]) Specifies the EKU filters for Machine certificate selection MachineCertificateIssuerFilter (X509Certificate2) Specifies the Certificate Issuer filter for machine certificate selection ','EmbeddedInstance':'VpnConnection','Out':True}
Description'Modifies an existing VPN connection profile. '
implementedTrue
staticTrue
Set method is in 5 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 20 namespaces
SetByThirdParty method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Namestring0-{'Description':'Specifies the name of the VPN connection profile to be created.','In':True}
ServerAddressstring1-{'Description':'Specifies the address of the remote VPN server to which the client will connect. Can be specified as a URL, friendly name, IPv4, or IPv6 address.','In':True}
RememberCredentialboolean2-{'Description':'Specifies whether the credentials supplied at the time of first successful connection should be stored in the cache.','In':True}
SplitTunnelingboolean3-{'Description':'Specifies that split tunnel should be enabled for the VPN connection profile. If this parameter is not specified, split tunneling is disabled.','In':True}
PassThruboolean4-{'Description':'Returns the VpnConnection object that contains the VpnConnection configuration settings. ','In':True}
Forceboolean5-{'Description':'If L2TP is used, enforces supplying the Pre-Shared Key value over unsecure channel. ','In':True}
ServerListobject:VpnServerAddress6-{'Description':'List of VPN servers the VPN client can connect to','EmbeddedInstance':'VpnServerAddress','In':True}
DnsSuffixstring7-{'Description':'DNS suffix of the VPN connection','In':True}
IdleDisconnectSecondsuint328-{'Description':'Idle time before the VPN connection is disconnected','In':True}
PlugInApplicationIDstring9-{'Description':'Identifier for the third party application','In':True}
CustomConfigurationstring10-{'Description':'Used by Third Party VPN plugins to specify custom configuration','In':True}
ThirdPartyVpnboolean11-{'Description':'Switch parameter to denote that the cmdlet is being executed for a third party profile','In':True}
cmdletOutputobject:ThirdPartyVpnConnection12-{'Description':'ThirdPartyVpnConnection consists of the following fields: Name (string) Specifies the name of the VPN connection profile. ServerAddress (string) Specifies the address of the Remote VPN Server. RememberCredential (boolean) Specifies whether the credentials for the VPN Connection are stored in cache after first successful connection. SplitTunneling (boolean) Specifies whether split tunneling is enabled or disabled. UseWinlogonCredential (boolean) Specifies whether the Windows logon user credentials should be automatically for VPN connection profile. Guid (Guid) Specifies the read-only GUID that represents the phone-book entry ConnectionStatus (string) Specifies the connection status of the VPN connection profile. Available values: Connected, NotConnected, Connecting, Limited, Dormant IdleDisconnectSeconds (uint32) Specifies the idle time before the VPN connection is disconnected ServerList (VpnServerAddress[]) Specifies the address of the Remote VPN Server. Routes (MSFT_NetRoute[]) Specifies the route to be plumbed. VpnTrigger (VpnConnectionTrigger) Specifies Trigger properties of VPN connection. DnsSuffix (string) Specifies the connection specific DNS suffix PlugInApplicationID (string) Specifies Identifier for the third party application. CustomConfiguration (string) Specifies custom configuration used by Third Party VPN plugins. ','EmbeddedInstance':'ThirdPartyVpnConnection','Out':True}
Description'Adds a Third Party VPN connection to the Connection Manager phonebook. '
implementedTrue
staticTrue
SetByThirdParty method is in 1 class (PS_VpnConnection) of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces

Detailed description of PS_VpnConnection properties

Local properties (32) of PS_VpnConnection class

AllUserConnection property
CIMTYPE'boolean'
Description'Flag to represent All User VPN Connection profile or Single user profile.'
keyTrue
readTrue
writeTrue
AllUserConnection property is in 3 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
ApplicationID property
CIMTYPE'string'
Description'Unique identifier for an application.'
readTrue
writeTrue
ApplicationID property is in 3 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 12 namespaces
AuthenticationMethod property
CIMTYPE'string'
Description'This parameter contains the Authentication method configured for the current VPN connection profile.'
readTrue
ValueMap['Pap', 'Chap', 'MsChapv2', 'Eap', 'MachineCertificate']
Values['Pap', 'Chap', 'MsChapv2', 'Eap', 'MachineCertificate']
writeTrue
AuthenticationMethod property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 7 namespaces
ConnectionStatus property
CIMTYPE'string'
Description'This property reflects the current connection status of the VPN connection.'
readTrue
ValueMap['Connected', 'NotConnected', 'Connecting', 'Limited', 'Dormant']
Values['Connected', 'NotConnected', 'Connecting', 'Limited', 'Dormant']
ConnectionStatus property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 5 namespaces
CustomConfiguration property
CIMTYPE'string'
Description'Used by Third Party VPN plugins to specify custom configuration.'
readTrue
writeTrue
CustomConfiguration property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 4 namespaces
DnsConfig property
CIMTYPE'object:PS_VpnConnectionTriggerDnsConfiguration'
Description'Specifies Trigger DNS Configurations.'
EmbeddedInstance'PS_VpnConnectionTriggerDnsConfiguration'
readTrue
writeTrue
DnsConfig property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
DnsSuffix property
CIMTYPE'string'
Description'Specifies the DNS Suffix.'
readTrue
writeTrue
DnsSuffix property is in 7 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 6 namespaces
DnsSuffixSearchList property
CIMTYPE'string'
Description'Dns Suffix search list for the auto-triggered VPN connection.'
readTrue
writeTrue
DnsSuffixSearchList property is in 3 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
EapConfigXmlStream property
CIMTYPE'string'
Description'This is an XML Stream containing the detailed EAP Configuration for the VPN profile.'
readTrue
writeTrue
EapConfigXmlStream property is in 3 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
EncryptionLevel property
CIMTYPE'string'
Description'This parameter is to specify the Encryption level to be used with the current VPN connection.'
readTrue
ValueMap['NoEncryption', 'Optional', 'Required', 'Maximum', 'Custom']
Values['NoEncryption', 'Optional', 'Required', 'Maximum', 'Custom']
writeTrue
EncryptionLevel property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 4 namespaces
Guid property
CIMTYPE'string'
Description'The read-only GUID (Globally Unique Identifier) that represents this phone-book entry.'
readTrue
Guid property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 14 namespaces
IdleDisconnectSeconds property
CIMTYPE'uint32'
Description'A value that specifies the time, in seconds, after which an idle connection is terminated. Unless the idle time-out is disabled, the entire connection is terminated if the connection is idle for the specified interval.'
readTrue
writeTrue
IdleDisconnectSeconds property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 8 namespaces
IsAutoTriggerEnabled property
CIMTYPE'boolean'
Description'This flag indicates whether the VPN Connection is auto-trigger enabled.'
readTrue
IsAutoTriggerEnabled property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
L2tpIPsecAuth property
CIMTYPE'string'
Description'This parameter specifies whether the L2TP IPSec Authentication method is Machine Certificate or Pre Shared Key.'
readTrue
ValueMap['Certificate', 'Psk']
Values['Certificate', 'Psk']
L2tpIPsecAuth property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
L2tpPsk property
CIMTYPE'string'
Description'Specifies the value of Pre-Shared Key to be used for L2TP authentication. If this parameter is not specified, by default a certificate will be used for L2TP.'
readTrue
writeTrue
L2tpPsk property is in 1 class (PS_VpnConnection) of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
MachineCertificateEKUFilter property
CIMTYPE'string'
Description'Array of Certificate EKU Filter, EKU Name for standard EKU else EKU OID.'
readTrue
writeTrue
MachineCertificateEKUFilter property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
MachineCertificateIssuerFilter property
CIMTYPE'string'
Description'Root Certificate Issuer Filter.'
readTrue
writeTrue
MachineCertificateIssuerFilter property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
Name property
CIMTYPE'string'
Description'Name of the current VPN Connection profile.'
keyTrue
readTrue
writeTrue
Name property is in 11 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 142 namespaces
NapState property
CIMTYPE'string'
Description'This property reflects the NAP (Health) status of the connection if it is configured to use PEAP authentication method and is currently connected to the Remote VPN Server.'
readTrue
ValueMap['Success', 'NotNapCapable', 'NoConnection', 'Error']
Values['Success', 'NotNapCapable', 'NoConnection', 'Error']
NapState property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
PlugInApplicationID property
CIMTYPE'string'
Description'Identifier for the third party application.'
readTrue
writeTrue
PlugInApplicationID property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
ProfileType property
CIMTYPE'string'
Description'This parameter contains the Vpn Connection Profile Type'
readTrue
ValueMap['Inbox', 'ThirdParty']
Values['Inbox', 'ThirdParty']
writeTrue
ProfileType property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
ProvisioningAuthority property
CIMTYPE'string'
Description'Provisioning Authority of the VPN Profile.'
readTrue
writeTrue
ProvisioningAuthority property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
Proxy property
CIMTYPE'object:PS_VpnConnectionProxy'
Description'Proxy settings of the VPN connection.'
EmbeddedInstance'PS_VpnConnectionProxy'
readTrue
writeTrue
Proxy property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 4 namespaces
RememberCredential property
CIMTYPE'boolean'
Description'This flag shall store the credentials for the VPN Connection to the credman after first successful connection.'
readTrue
writeTrue
RememberCredential property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
Routes property
CIMTYPE'object:PS_VpnConnectionRoute'
Description'Specifies the routes to be plumbed.'
EmbeddedInstance'PS_VpnConnectionRoute'
readTrue
writeTrue
Routes property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
ServerAddress property
CIMTYPE'string'
Description'Address of the Remote VPN Server.'
readTrue
writeTrue
ServerAddress property is in 6 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
ServerList property
CIMTYPE'object:PS_VpnServerAddress'
Description'Specifies the VPN Server List.'
EmbeddedInstance'PS_VpnServerAddress'
readTrue
writeTrue
ServerList property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
SplitTunneling property
CIMTYPE'boolean'
Description'This flag specifies whether Split Tunneling has to be enabled or disabled.'
readTrue
writeTrue
SplitTunneling property is in 4 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
TrustedNetwork property
CIMTYPE'string'
Description'Trusted network DNS suffixes for the auto-triggered VPN connection.'
readTrue
writeTrue
TrustedNetwork property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
TunnelType property
CIMTYPE'string'
Description'This parameter contains the PPP Tunnel Type configured in the RAS config blob. This tunnel is decided after first successful connection.'
readTrue
ValueMap['Pptp', 'L2tp', 'Sstp', 'Ikev2', 'Automatic']
Values['Pptp', 'L2tp', 'Sstp', 'Ikev2', 'Automatic']
writeTrue
TunnelType property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 6 namespaces
UseWinlogonCredential property
CIMTYPE'boolean'
Description'This flag is only used for MsChapv2/EAP-MsChapv2 Authentication Methods. It indicated whether the User Winlogon Credentials are to be automatically used for connection using the current VPN connection profile.'
readTrue
writeTrue
UseWinlogonCredential property is in 2 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces
VpnConfigurationXml property
CIMTYPE'string'
Description'An XML representation of this instance, which can be used as input for MSFT_VpnConnection::Set'
readTrue
VpnConfigurationXml property is in 3 classes of ROOT\Microsoft\Windows\RemoteAccess\Client and in 2 namespaces

PS_VpnConnection Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
ClassVersion'1.0.0'
Description'GCW profile management class'
dynamicTrue
InPartition['local-system', 'local-user']
locale'MS_409'
provider'VpnClientPSProvider'

PS_VpnConnection System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\Microsoft\Windows\RemoteAccess\Client:PS_VpnConnection'___SYSTEM8
__NAMESPACE'ROOT\Microsoft\Windows\RemoteAccess\Client'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION[]___SYSTEM8
__PROPERTY_COUNT32___SYSTEM3
__RELPATH'PS_VpnConnection'___SYSTEM8
__DYNASTY'PS_VpnConnection'___SYSTEM8
__SUPERCLASSnull___SYSTEM8
__CLASS'PS_VpnConnection'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to PS_VpnConnection

Number of classes:16
comments powered by Disqus
WUtils.com