CmdID

CmdID / PowerShell / Cmdlets / Add

Add-DhcpServerv4Lease

Adds a new IPv4 address lease in the DHCP server service. Windows Server PowerShell reference

From the Windows Server PowerShell reference 21 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

21 in the Windows Server PowerShell reference
Show its 21 parameters
-AddressStateSpecifies the state of the IPv4 Address lease.
-AsJobRuns the cmdlet as a background job.
-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.
-ClientIdSpecifies the client identifier (ID) to be set on the IPv4 address lease.
-ClientTypeSpecifies the type of the client.
-ComputerName, -CnSpecifies the DNS name, or IPv4 or IPv6 address, of the target computer that runs the DHCP server service.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-DescriptionSpecifies the description string to be set on the IPv4 address lease.
-DnsRRIndicates the type of DNS record to be registered by the DHCP server service for this lease.
-DnsRegistrationIndicates the status of the DNS registration of the lease.
-HostNameSpecifies the DNS host name of the client for which the IP address lease to add.
-IPAddressSpecifies the IPv4 address for which the IPv4 address lease record to add on the DHCP server service.
-LeaseExpiryTimeSpecifies the expiry time of the IPv4 address lease.
-NapCapableIndicates that the client is network access protection (NAP) capable.
-NapStatusSpecifies the NAP status of the client.
-PassThruReturns an object representing the item with which you are working.
-PolicyNameSpecifies the name of the policy to be set on the IPv4 address lease record that is added.
-ProbationEndsSpecifies the end-time of probation to be set on the IPv4 address lease record.
-ScopeIdSpecifies the subnet mask to be set on the IPv4 address lease record that is added.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.