Share via


Add method of the PS_DhcpServerv6Reservation class

Add an IPv6 Reservation to an IPv6 Prefix/Scope.

Syntax

uint32 Add(
  [in]  string                  ComputerName,
  [in]  string                  IPAddress,
  [in]  string                  ClientDuid,
  [in]  uint32                  Iaid,
  [in]  string                  Name,
  [in]  string                  Description,
  [in]  string                  Prefix,
  [in]  boolean                 PassThru,
  [out] DhcpServerv6Reservation cmdletOutput
);

Parameters

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

IPAddress [in]

The IPv6 address to be reserved for the client.

ClientDuid [in]

The DHCPv6 unique identifier of the client.

Iaid [in]

DHCPv6 unique identifiers of a specific network interface of the client.

Name [in]

Name of the client. This could be the actual hostname of the client or a name assigned to identify the reserved client on the DHCP server.

Description [in]

The description string for the IPv6 reservation being created.

Prefix [in]

The IPv6 prefix which identifies the scope in which the reservation will be created.

PassThru [in]

If this parameter is specified, the cmdlet returns the PowerShell object which is added.

cmdletOutput [out]

An embedded instance of the DhcpServerv6Reservation class.

Requirements

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

See also

PS_DhcpServerv6Reservation