Get all servers that run DHCP in the domain

< 1 minute to read

The Get-DhcpServerInDC cmdlet retrieves the list of authorized computers that run the Dynamic Host Configuration Protocol (DHCP) server service from Active Directory. Only a computer that runs a DHCP server service that is authorized in Active Directory can lease IP addresses on the network.

PS C:\Users\cloudadmin> Get-DhcpServerInDC

IPAddress            DnsName
---------            -------         ctadcp001.cloudtech.local         ctadcp002.cloudtech.local        ctavsp001.cloudtech.local         ctavsp001.cloudtech.local        ctavsp002.cloudtech.local         ctavsp002.cloudtech.local        ctavsp003.cloudtech.local        ctavsp004.cloudtech.local



Leave a Reply

Your email address will not be published.Required fields are marked *