Add method of the PS_RemoteAccessLoadBalancerNode class
This cmdlet adds a single remote access server to the load balancing cluster.
Syntax
uint32 Add(
[in] string RemoteAccessServer,
[in] string InternalInterface,
[in] string InternetInterface,
[in] string VpnIPAddressRange[],
[in] string ComputerName,
[in] boolean Force,
[in] boolean PassThru,
[out] RemoteAccessLoadBalancerNode cmdletOutput
);
Parameters
-
RemoteAccessServer [in]
-
IPv4/IPv6 address or hostname of the remote access server that needs to be added to the load balancing cluster.
-
InternalInterface [in]
-
Name of the corpnet facing interface of the specified server. If name is not specified then cmdlet tries to detect the internal interface automatically. For a single-NIC configuration the same name is specified for both the internal and Internet interfaces.
-
InternetInterface [in]
-
Name of the Internet facing interface of the specified server. If name is not specified then cmdlet tries to detect the Internet interface automatically. For a single-NIC configuration the same name is specified for both the internal and Internet interfaces.
-
VpnIPAddressRange [in]
-
If VPN is enabled then this parameter must be specified. It indicates the IP address range from which IP addresses are allocated to VPN clients connecting to this server. The specified range should not overlap with the range configured on other servers in the cluster. Note that in a load balancing configuration VPN supports only static pool address assignment. DHCP address assignment is not supported.
-
ComputerName [in]
-
IPv4/IPv6 address or hostname of the machine on which the Remote Access server machine specific tasks should be executed. If ComputerName is specified it represents the cluster to which the server is added.
-
Force [in]
-
Switch parameter used to suppress user confirmation prompts for the following conditions. When suppressed the cmdlet assumes user confirmation for the below mentioned changes. 1. If self-signed NLS cert is found on all other nodes in the cluster then a self-signed cert is created for this node 2. If self-signed SSL (IPTTPS) cert is found on all other nodes in the cluster then a self-signed cert is created for this node.
-
PassThru [in]
-
Returns the remote access load balancer node object. By default this cmdlet does not generate any output.
-
cmdletOutput [out]
-
- Address of the node added. 2. Load Balancing status 3. IP address ranges configured for VPN.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\Microsoft\Windows\RemoteAccess |
MOF |
|
DLL |
|