Freigeben über


Add method of the PS_VpnIPAddressRange class

This cmdlet adds a new IPv4 address range from which IPv4 addresses can be assigned to VPN clients

Syntax

uint32 Add(
  [in]  string            IPAddressRange[],
  [in]  string            ComputerName,
  [in]  boolean           PassThru,
  [in]  string            RoutingDomain,
  [out] VpnIPAddressRange cmdletOutput
);

Parameters

IPAddressRange [in]

Indicates the IP address range that has to be added to the pool. Consists of a start IP and an end IP. The range shouldn't overlap with an already existing range

ComputerName [in]

IPv4/IPv6 address or hostname of the machine on which the VPN server machine specific tasks should be executed. If ComputerName is specified then the IPv4 address range is added on that VPN server

PassThru [in]

Returns the IP address range object that was added. By default this cmdlet does not generate any output

RoutingDomain [in]

The name of the routing domain of the IP address range.

Windows Server 2012: This parameter was changed from RoutingDomainName in Windows Server 2012 R2.

cmdletOutput [out]

The start and end IP address of the new range address range.

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_VpnIPAddressRange