SetByVpnIPv6PrefixEntrypoint method of the PS_VpnIPAddressAssignment class

This cmdlet does the following1. Configure the IPv4 address assignment method2. Configure the IPv6 prefix for IPv6 address assignment

Syntax

uint32 SetByVpnIPv6PrefixEntrypoint(
  [in]  string                 ComputerName,
  [in]  string                 IPv6Prefix,
  [in]  boolean                PassThru,
  [in]  string                 EntrypointName,
  [out] VpnIPAddressAssignment cmdletOutput
);

Parameters

ComputerName [in]

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

IPv6Prefix [in]

Specifies the IPv6 prefix used for IPv6 address assignment

PassThru [in]

Returns the VPN IP address assignment policy object. By default this cmdlet does not generate any output

EntrypointName [in]

Entrypoint refers to the identity of a site in a multisite deployment for which the IPv6 prefix needs to be configured. Entrypoint is not applicable to the IPv4 address assignment properties as these properties are always configured at the individual server level and not site level

If an entrypoint is not specified in a multisite deployment then the entrypoint to which the server on which the cmdlet is executed belongs is used. The server could also be represented by using the ComputerName parameter

If both entrypoint and ComputerName are specified and the ComputerName does not belong to the site represented by the entrypoint then the entrypoint takes precedence and the authentication type is configured for it

cmdletOutput [out]

  1. Type of IPv4 assignment (DHCP, StaticPool) 2. List of IPv4 address ranges (if static pool was set)

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_VpnIPAddressAssignment