Partager via


Set method of the PS_DAAppServerConnection class

This cmdlet configures the properties of the connection to application servers and the IPsec security traffic protection policies for the connection. This cmdlet is not applicable when DirectAccess is deployed only for the management of remote clients and when no application servers have been configured.

Syntax

uint32 Set(
  [in]  string                ConnectionType,
  [in]  string                TrafficProtection,
  [in]  string                ComputerName,
  [in]  boolean               PassThru,
  [out] DAAppServerConnection cmdletOutput
);

Parameters

ConnectionType [in]

This parameter specifies the type of connection to corpnet and can take one of the following values: 1. NoE2EAuth: No end-to-end authentication required. 2. E2EAuthOnlyToAppServer: End-to-end authentication required only to the configured application servers and not to other servers in corpnet. 3. E2EAuthRequiredToAllServers: Access allowed only to the configured application servers via end-to-end authentication and no access to other servers in corpnet. If NoE2EAuth is specified the cmdlet automatically remove all the app server SGs and GPOs from the DA deployment and user has access to all corpnet servers over a full tunnel to the DA server. IPsec traffic protection is not applicable when the connection type is NoE2EAuth and hence cannot be configured

NoE2EAuth ("NoE2EAuth")

E2EAuthOnlyToAppServer ("E2EAuthOnlyToAppServer")

E2EAuthRequiredToAllServers ("E2EAuthRequiredToAllServers")

TrafficProtection [in]

This parameter determines the property of the IPsec connection to the application servers and can take one of the following values. 1. Enable: This means traffic protection is enabled. 2. Disable: This means that traffic protection is disabled and only authentication will be performed. IPsec traffic protection is not applicable when the connection type is NoE2EAuth and hence cannot be configured

Enabled ("Enabled")

Disabled ("Disabled")

ComputerName [in]

IPv4/IPv6 address or hostname of the machine on which the remote access server machine specific tasks should be executed

PassThru [in]

Returns the application server connection object which contains the properties of the connectivity to. By default this cmdlet does not generate any output

cmdletOutput [out]

The application server connectivity properties are applicable to all app servers in the DA deployment

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\RemoteAccess
MOF
RAMgmtPSProvider.mof
DLL
RAMgmtPSProvider.dll

See also

PS_DAAppServerConnection