One-liner: Use Get-ADObject to Find Authorised DHCP Servers

The DHCP PowerShell module has the Get-DhcpServerInDC cmdlet to show you the DHCP servers that have been authorised in Active Directory. This cmdlet was introduced with Windows Server 2012 and v3 of PowerShell. What if you don't have access to the above? What if you want to impress your PoSh Chickens and get a list of…


Use PowerShell to Add a Vendor-Specific Class to Windows DHCP

I'm helping a customer migrate from an Infoblox appliance to Windows IPAM. One of the tasks I've just completed is to take vendor-specific DHCP classes and option definitions from an Infoblox appliance (ISC) dump and convert it to something that Windows Server 2012 DHCP understands. A vendor-specific class ensures that vendor-specific scope options are delivered to just the vendor's…


Creating a Windows Server 2012 DHCP Failover Relationship

Here's my quick and simple recipe for creating a Windows Server 2012 DHCP failover relationship. The following ingredients are required: two Windows Server 2012 DHCP servers with the DHCP role installed two or more scopes already configured as type DHCP on the first DHCP server  All set? Good, let's cook…   Let's configure a Hot-Standby relationship with…

4