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

Example 1: Get all computers that run DHCP in the domain

Get-DhcpServerInDC


Returns the IPv4 scope configuration of the specified scopes.


Example 1: Get all scopes on a computer

Get-DhcpServerv4Scope -ComputerName "dhcpserver.contoso.com"


Example 2: Get a specific scope

Get-DhcpServerv4Scope -ComputerName "dhcpserver.contoso.com" -ScopeId 10.10.10.0



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


Example 1: Get failover information for a relationship

Get-DhcpServerv4Failover -ComputerName "dhcpserver.rs.local" -Name "SFO-SIN-Failover"


Example 2: Get failover information for all relationships

Get-DhcpServerv4Failover -ComputerName "dhcpserver.rs.local"


Example 3: Get failover information for a relationship that contains a scope

Get-DhcpServerv4Failover -ComputerName "dhcpserver.rs.local" -ScopeId 10.10.10.0