Freigeben über


GetByClientId method of the PS_DhcpServerv4Lease class

Gets one or more lease records from the DHCP server.

Syntax

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

Parameters

ComputerName [in]

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

ClientId [in]

Client identifier for which the IP address lease record is to be retrieved.

ScopeId [in]

Scope identifier (in IPv4 address format) from which the IPv4 address leases are to be retrieved

cmdletOutput [out]

An embedded instance of the DhcpServerv4Lease 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_DhcpServerv4Lease