CmdID / PowerShell / Cmdlets / Get
Get-DhcpServerv4Lease
Gets one or more lease records from the DHCP server service. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-AllLeasesIndicates that this cmdlet returns all of the IPv4 address leases regardless of address state.-AsJobRuns the cmdlet as a background job.-BadLeasesIndicates that this cmdlet returns only bad leases.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ClientIdSpecifies the client identifier (ID) for which the IP address lease record is to be retrieved.-ComputerName, -CnSpecifies the DNS name, or IPv4 or IPv6 address, of the target computer that runs the DHCP server service.-IPAddressSpecifies the IP address for which the lease record is retrieved.-ScopeIdSpecifies the scope ID, in IPv4 address format from which the IPv4 address leases are retrieved.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.