Adding DNS Servers in All DHCP Scopes using PowerShell
To Get all Scopes – Open PowerShell – Run as Administrator Get-DhcpServerv4Scope To Check DNS Servers Option 006 Get-DhcpServerv4Scope| Get-DhcpServerv4OptionValue| Where-Object{$_.OptionID -like6} | FT Value To Check – Whatif Get-DhcpServerv4Scope| …