Add method of the PS_DAEntryPoint class

Adds an entry point to a multisite deployment. The cmdlet verifies DirectAccess prerequisites and adds the server as an entry point to the multisite deployment.

Syntax

uint32 Add(
  [in]  string       ComputerName,
  [in]  string       ServerGpoName,
  [in]  string       Name,
  [in]  string       GslbIP,
  [in]  boolean      DeployNat,
  [in]  boolean      NoPrerequisite,
  [in]  string       RemoteAccessServer,
  [in]  string       InternalInterface,
  [in]  string       InternetInterface,
  [in]  string       ClientIPv6Prefix,
  [in]  string       ConnectToAddress,
  [in]  boolean      Force,
  [in]  boolean      PassThru,
  [out] DAEntryPoint cmdletOutput
);

Parameters

ComputerName [in]

The name or address (IPv4 or IPv6) of a remote access server in the multisite deployment. If no value is specified the local computer on which the cmdlet runs is used.

ServerGpoName [in]

This parameter specifies the name of the GPO in which DirectAccess server configuration settings for this entrypoint are stored. If a value is not specified the cmdlet creates a GPO with the name DirectAccess Server Settings - Entry point name. The GPO is created on the domain where the server indicated by the RemoteAccessServer parameter is joined.

Name [in]

Name of the entry point.

GslbIP [in]

IPv4 or IPv6 address used for global load balancing for the entry point. This parameter can be only be specified if global load balancing FQDN is configured in the multisite deployment.

DeployNat [in]

Indicates that the remote access server or server cluster is deployed behind a NAT device.

NoPrerequisite [in]

Indicates that a prerequisite check for DirectAccess deployment requirements should not be performed. The default value is false.

RemoteAccessServer [in]

The name or address (IPv4 or IPv6) of the remote access server to be the first server of the entry point. If the domain of the RemoteAccessServer is in a different domain, the name of the server should be provided in fully qualified name format.

InternalInterface [in]

The name of the internal network adapter of the first server in the entry point. If the name is not specified the cmdlet tries to automatically detect the network adapter.

InternetInterface [in]

The name of the Internet network adapter of the first server in the entry point. If the name is not specified the cmdlet tries to automatically detect the network adapter.

ClientIPv6Prefix [in]

IPv6 address prefix assigned to remote clients connecting over IP-HTTPS. The prefix length must be 59 or 64 bits. This parameter should be specified only in case IPv6 is deployed on the internal network.

ConnectToAddress [in]

Specifies the public name or IPv4 address of the Remote Access server (or NAT server) to which remote clients connect.

Force [in]

Suppresses the option to allow a user to override a setting. It should continue prompts.

PassThru [in]

Specifying PassThru returns the DAEntrypoint object which contains the DAEntrypoint configuration. This cmdlet doesn't generate an object by default.

cmdletOutput [out]

  1. Entry point name. 2. IPv4 or IPv6 address used for global load balancing for the entry point 3. List of servers in the entry point.

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_DAEntryPoint