How to find DHCP server that holds a particular scope?
hi,
is there easy way find out dhcp server holds particular scope in domain? example, how find out dhcp server has scope x.x.x.x?
thanks,
umesh.s.k
something like...
import-module dhcpserver foreach( $server in ( get-dhcpserverindc ) ) { get-dhcpserverv4scope -computername $server.dnsname | ` select scopeid, name, state, @{name="server";expression={ $server.dnsname }} | ` where{ $_.scopeid.ipaddresstostring -eq "10.10.0.0" } | ft scopeid, name, state, server }
gleb.
Windows Server > IPAM, DHCP, DNS
Comments
Post a Comment