Identify authorized DHCP Servers using Powershell (one-liners)

Last week, I needed to quickly find out all the Authorized DHCP Servers in the AD Forest. Fortunately, the following Powershell cmdlet saved me a lot of time and I wanted to share it with you.

First of all, you need to make sure that the following module is loaded in order to use the cmdlet that meets our needs.

Query AD for Authorized DHCP Servers, make sure you use the forest tree root domain.

In case you want to export the results into a text file use the following syntax.

Thanks for reading!

George Markou

My Name is George Markou, IT Pro, Geek and Fancy Gadgets enthusiast. I am focused on Virtualization and Cloud Technologies.

%d bloggers like this: