Dhcp Server

This reference provides cmdlet descriptions and syntax for all Dynamic Host Configuration Protocol (DHCP) server service-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Also see DHCP Classes .

dhcpserver

Add-Dhcp Server InDC

Adds the computer that runs the DHCP server service to the list of authorized DHCP server services in Active Directory.

Add-Dhcp Server Security Group

Adds security groups to a DHCP server.

Add-Dhcp Serverv4Class

Adds an IPv4 vendor or user class to the DHCP server service.

Add-Dhcp Serverv4Exclusion Range

Adds a range of excluded IP addresses for an IPv4 scope.

Add-Dhcp Serverv4Failover

Adds an IPv4 failover relationship on the DHCP server service.

Add-Dhcp Serverv4Failover Scope

Adds one or more specified scopes to the failover relationship.

Add-Dhcp Serverv4Filter

Adds a MAC address filter to the DHCP server service.

Add-Dhcp Serverv4Lease

Adds a new IPv4 address lease in the DHCP server service.

Add-Dhcp Serverv4Multicast Exclusion Range

Adds a range of addresses to exclude from a multicast scope.

Add-Dhcp Serverv4Multicast Scope

Adds a multicast scope on the DHCP server.

Add-Dhcp Serverv4Option Definition

Adds a DHCPv4 option definition on the DHCP server service.

Add-Dhcp Serverv4Policy

Adds a new policy either at the server level or at the scope level.

Add-Dhcp Serverv4Policy IPRange

Adds an IP range to an existing policy at the scope level.

Add-Dhcp Serverv4Reservation

Reserves an IPv4 address in the scope for a client.

Add-Dhcp Serverv4Scope

Adds an IPv4 scope on the DHCP server service.

Add-Dhcp Serverv4Superscope

Adds scopes to a superscope.

Add-Dhcp Serverv6Class

Adds an IPv6 vendor or user class to the DHCP server service.

Add-Dhcp Serverv6Exclusion Range

Sets the range of IPv6 addresses to exclude from an IPv6 scope.

Add-Dhcp Serverv6Lease

Adds an IPv6 address lease to the DHCP server service.

Add-Dhcp Serverv6Option Definition

Adds a DHCPv6 option definition to a DHCP server service.

Add-Dhcp Serverv6Reservation

Adds an IPv6 Reservation to an IPv6 prefix or scope.

Add-Dhcp Serverv6Scope

Adds an IPv6 scope to the DHCP server service with the specified parameters.

Backup-Dhcp Server

Backs up the DHCP database of DHCP server service.

Export-Dhcp Server

Exports the DHCP server service configuration and lease data.

Get-Dhcp Server Audit Log

Gets the configuration parameters related to the audit log of the DHCP server service.

Get-Dhcp Server Database

Gets the configuration parameters related to the database of the DHCP server service.

Get-Dhcp Server Dns Credential

Gets an account that the DHCP Server service uses to register or deregister client records on a DNS server.

Get-Dhcp Server InDC

Retrieves the list of authorized computers that run the DHCP server service from Active Directory.

Get-Dhcp Server Setting

Gets the configuration parameters of the database of the DHCP server service.

Get-Dhcp Server Version

Gets the version of the DHCP server service.

Get-Dhcp Serverv4Binding

Gets the IPv4 interfaces on the computer to which the DHCP server service is bound.

Get-Dhcp Serverv4Class

Retrieves an IPv4 vendor or user class from the DHCP server service.

Get-Dhcp Serverv4Dns Setting

Gets the DNS settings configured on the DHCP server service for a specific scope, reservation, or server level.

Get-Dhcp Serverv4Exclusion Range

Returns the IPv4 address ranges excluded from the specified scope IDs.

Get-Dhcp Serverv4Failover

Gets the failover relationships configured on the DHCP server service for the specific failover relationship name.

Get-Dhcp Serverv4Filter

Gets MAC addresses from the allow list or the deny list on the DHCP server service.

Get-Dhcp Serverv4Filter List

Gets the enabled state of the allow filter list and deny filter list set on the DHCP server service.

Get-Dhcp Serverv4Free IPAddress

Gets free IPv4 addresses from a specified scope.

Get-Dhcp Serverv4Lease

Gets one or more lease records from the DHCP server service.

Get-Dhcp Serverv4Multicast Exclusion Range

Retrieves the exclusion range for a specified multicast scope.

Get-Dhcp Serverv4Multicast Lease

Retrieves multicast leases for a specified scope name.

Get-Dhcp Serverv4Multicast Scope

Gets multicast scope objects.

Get-Dhcp Serverv4Multicast Scope Statistics

Gets multicast scope statistics.

Get-Dhcp Serverv4Option Definition

Gets the DHCPv4 option definition for the specified option IDs.

Get-Dhcp Serverv4Option Value

Returns the IPv4 option values for IPv4 options at the server, scope, or reservation level.

Get-Dhcp Serverv4Policy

Gets policies at the server level or the scope level.

Get-Dhcp Serverv4Policy IPRange

Gets IP address ranges from a policy in the specified scope.

Get-Dhcp Serverv4Reservation

Gets IPv4 reservations for IP addresses or client IDs.

Get-Dhcp Serverv4Scope

Returns the IPv4 scope configuration of the specified scopes.

Get-Dhcp Serverv4Scope Statistics

Gets the IPv4 scope statistics corresponding to the IPv4 scope IDs specified for a DHCP server service.

Get-Dhcp Serverv4Statistics

Gets DHCP server service statistics for IPv4.

Get-Dhcp Serverv4Superscope

Gets the configuration for the specified superscope.

Get-Dhcp Serverv4Superscope Statistics

Returns statistics for superscopes.

Get-Dhcp Serverv6Binding

Returns the IPv6 interfaces to which the DHCP server service is bound.

Get-Dhcp Serverv6Class

Gets the IPv6 vendor or user class from the DHCP server service.

Get-Dhcp Serverv6Dns Setting

Gets the DNS settings configured on the DHCP server service for a specific scope, reservation, or server-wide.

Get-Dhcp Serverv6Exclusion Range

Gets the IPv6 address ranges excluded from the specified IPv6 subnet prefix.

Get-Dhcp Serverv6Free IPAddress

Gets free IPv6 addresses from a scope.

Get-Dhcp Serverv6Lease

Gets IPv6 lease records from the DHCP server service.

Get-Dhcp Serverv6Option Definition

Gets the option definition for the option identified by the option ID.

Get-Dhcp Serverv6Option Value

Returns the IPv6 option values for one or more IPv6 options either for a specific reserved IP, scope or, server level.

Get-Dhcp Serverv6Reservation

Returns the reserved IPv6 addresses on the DHCP server service.

Get-Dhcp Serverv6Scope

Gets the scope information for the specified IPv6 prefixes on the DHCP server service.

Get-Dhcp Serverv6Scope Statistics

Gets the IPv6 prefix statistics for an IPv6 prefix specified for a DHCP server service.

Get-Dhcp Serverv6Stateless Statistics

Gets IPv6 subnet prefixes which have stateless clients and the number of addresses in use in each subnet.

Get-Dhcp Serverv6Stateless Store

Gets the properties of IPv6 stateless store for an IPv6 subnet.

Get-Dhcp Serverv6Statistics

Gets the DHCP server service statistics for IPv6.

Import-Dhcp Server

Imports the DHCP server service configuration, and optionally lease data, from a file.

Invoke-Dhcp Serverv4Failover Replication

Replicates scope configuration between failover partner DHCP server services.

Remove-Dhcp Server Dns Credential

Removes the credential that the DHCP Server service uses to register or deregister client records on a DNS server.

Remove-Dhcp Server InDC

Deletes the specified DHCP server service from the list of authorized DHCP server services in Active Directory.

Remove-Dhcp Serverv4Class

Deletes the IPv4 vendor class or user class from a DHCP server service.

Remove-Dhcp Serverv4Exclusion Range

Deletes a range of IPv4 addresses that were previously excluded from an IPv4 scope.

Remove-Dhcp Serverv4Failover

Removes failover relationships.

Remove-Dhcp Serverv4Failover Scope

Removes the specified scopes from the failover relationship.

Remove-Dhcp Serverv4Filter

Deletes a MAC address or MAC address pattern from the allow list or the deny list of the DHCP server service.

Remove-Dhcp Serverv4Lease

Deletes IPv4 address lease records from the DHCP server service.

Remove-Dhcp Serverv4Multicast Exclusion Range

Removes a range of addresses previously excluded from a multicast scope.

Remove-Dhcp Serverv4Multicast Lease

Removes multicast scope leases for a multicast scope or IP address.

Remove-Dhcp Serverv4Multicast Scope

Removes multicast scopes.

Remove-Dhcp Serverv4Option Definition

Deletes IPv4 option definitions from a DHCP server service.

Remove-Dhcp Serverv4Option Value

Deletes one or more IPv4 option values at the server, scope or reservation level, either for the standard IPv4 options or for the specified vendor or user class.

Remove-Dhcp Serverv4Policy

Deletes IPv4 policies at the server level or the scope level.

Remove-Dhcp Serverv4Policy IPRange

Deletes an IP range from an existing policy at the scope level.

Remove-Dhcp Serverv4Reservation

Deletes the IPv4 reservation from the specified scope.

Remove-Dhcp Serverv4Scope

Deletes the specified IPv4 scopes from the DHCP server service.

Remove-Dhcp Serverv4Superscope

Removes scopes from a superscope.

Remove-Dhcp Serverv6Class

Deletes the specified IPv6 vendor class or user class from a DHCP server service.

Remove-Dhcp Serverv6Exclusion Range

Deletes a range of IPv6 addresses previously excluded from an IPv6 scope.

Remove-Dhcp Serverv6Lease

Deletes IPv6 lease records from the DHCP server service.

Remove-Dhcp Serverv6Option Definition

Deletes IPv6 option definitions from the DHCP server service.

Remove-Dhcp Serverv6Option Value

Deletes DHCPv6 option values set at the reservation level, scope level, or server level, for the standard IPv6 options or for a vendor class.

Remove-Dhcp Serverv6Reservation

Deletes IPv6 reservations from the specified scope.

Remove-Dhcp Serverv6Scope

Deletes the IPv6 scopes from the DHCP server service corresponding to the specified prefixes.

Rename-Dhcp Serverv4Superscope

Renames a superscope.

Repair-Dhcp Serverv4IPRecord

Reconciles inconsistent lease records in the DHCP database.

Restore-Dhcp Server

Restores the database of the DHCP server service from the specified location.

Set-Dhcp Server Audit Log

Sets the DHCP server service audit log configuration on the DHCP server service that runs on the computer.

Set-Dhcp Server Database

Modifies one or more configuration parameters of the database of the DHCP server service.

Set-Dhcp Server Dns Credential

Sets credentials that the DHCP Server service uses to register or deregister client records on a DNS server.

Set-Dhcp Server Setting

Sets server level configuration parameters for the DHCP server service.

Set-Dhcp Serverv4Binding

Sets the binding state of an IPv4 interface for the DHCP server service that runs on a computer.

Set-Dhcp Serverv4Class

Modifies an IPv4 vendor class or user class on the DHCP server service with the specified parameters.

Set-Dhcp Serverv4Dns Setting

Configures how the DHCP server service updates the DNS server with the client-related information.

Set-Dhcp Serverv4Failover

Modifies the properties of an existing failover relationship.

Set-Dhcp Serverv4Filter List

Sets the enabled state for the allow and the deny MAC address filter lists on the DHCP server service.

Set-Dhcp Serverv4Multicast Scope

Modifies the properties of a multicast scope.

Set-Dhcp Serverv4Option Definition

Modifies the properties of an IPv4 option definition.

Set-Dhcp Serverv4Option Value

Sets an IPv4 option value at the server, scope, or reservation level.

Set-Dhcp Serverv4Policy

Sets the properties of a policy at the server level or at the specified scope level.

Set-Dhcp Serverv4Reservation

Modifies the properties of an IPv4 reservation.

Set-Dhcp Serverv4Scope

Sets the properties of an existing IPv4 scope on the DHCP server service.

Set-Dhcp Serverv6Binding

Sets the binding state for an IPv6 interface of the DHCP server service.

Set-Dhcp Serverv6Class

Modifies the properties of an IPv6 vendor or user class on the DHCP server service.

Set-Dhcp Serverv6Dns Setting

Configures how the DHCP server service updates the DNS server with the client-related information.

Set-Dhcp Serverv6Option Definition

Modifies the properties of a DHCPv6 option definition.

Set-Dhcp Serverv6Option Value

Sets an IPv6 option value at the server, scope, or reservation level.

Set-Dhcp Serverv6Reservation

Modifies the properties of the specified IPv6 reservation.

Set-Dhcp Serverv6Scope

Modifies the properties of the IPv6 scope on the DHCP server service.

Set-Dhcp Serverv6Stateless Store

Sets properties of IPv6 stateless store for an IPv6 prefix.