Freigeben über


GetByClientId method of the PS_DhcpServerv4Reservation class

Gets the IPv4 reservation(s) for the specified IP addresses or client identifiers. If only a scope identifier is specified, all IPv4 reservations from the specified scope are returned.

Syntax

uint32 GetByClientId(
  [in]  string                  ComputerName,
  [in]  string                  ClientId[],
  [in]  string                  ScopeId,
  [out] DhcpServerv4Reservation cmdletOutput[]
);

Parameters

ComputerName [in]

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

ClientId [in]

The client identifier(s) of the reservations which need to be retrieved. For Windows clients, the MAC address is the client identifier.

ScopeId [in]

The scope identifier (in IPv4 address format) from which the reservations are to be retrieved.

cmdletOutput [out]

An embedded instance of the DhcpServerv4Reservation 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_DhcpServerv4Reservation