Поделиться через


Get method of the PS_DhcpServerv6FreeIPAddress class

Get free/unassigned IPAddress(es) from the specified scope.

Syntax

uint32 Get(
  [in]  string ComputerName,
  [in]  string Prefix,
  [in]  uint32 NumAddress,
  [in]  string StartAddress,
  [in]  string EndAddress,
  [out] string cmdletOutput[]
);

Parameters

ComputerName [in]

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

Prefix [in]

IPv6 subnet prefix of the scope from which free IP address are requested.

NumAddress [in]

Number of free IP addresses requested. Default is 1.

StartAddress [in]

Start IP address of the range from which the free IP addresses are to be returned.

EndAddress [in]

End IP address of the range from which the free IP addresses are to be returned.

cmdletOutput [out]

An array of IP addresses which are unallocated/not leased.

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_DhcpServerv6FreeIPAddress