This simple script shows you how to migrate a scopes leases from one DHCP server to another,disable the old scope and enable the new one
Continue reading…
2003 AD Migration
Powershell – List Users in Local Administrators Group
The following script lists all users in the local administrators group for all windows servers in the domain
Continue reading…
Client Connects to Random Domain Controller (Logonserver)
The solution is only relevant if you have a mixed 2003 and 2008 or 2012 and higher environment and it is because of the different default value for SiteCostedReferrals.
Continue reading…
What is Subnet Netmask Ordering
Four things define whether a client talks to a remote DC 1.AD sites (if there is no DC in the site it will select randomly) 2.Costed sites. if you no not cost the sites correctly then you will have issues as they all cost the same so it does not care 3.If the subnet in […]
Continue reading…
Parsing DNS Log files
This script parses the DNS log file and does a reverse lookup to see the DNS hostname of the device that did a DNS query The Scenario As part of an 2003 AD migration, the requirements were to replace the 2003 DCs in an existing subnet with new DCs in a new subnet. Problem is that lots […]
Continue reading…
DHCP- Find Duplicate Reservations That Have Different IP Addresses – Split Scope
Fundamental problem when you have two dhcp servers and the scopes split, is that human error creeps in and you may get DHCP reservations that have different IP addresses on each server. Now probably you rarely have DHCP server failures that you cannot fix quite quickly, so you have never noticed this as the lease […]
Continue reading…
Migrating from 2003 DHCP to 2012 R2 DHCP with Split Scopes to Load Balanced
Background The easiest way to migrate from 2003 DHCP with split scopes to 2012 R2 DHCP with Failover, is to put in interim 2012 R2 split scope DHCP servers, then migrate them to final DHCP 2012 R2 servers with DHCP Failover. The reason for this is that the DHCP powershell cmdlets in 2012 R2 are superb! […]
Continue reading…
DHCP – Get a List of Scopes and Scope Options from 2012 R2 DHCP Server
This powershell script gets a list of scopes and scope options from the two servers in a split scope environment. This should work from a 2008 R2 DHCP server and higher It is rough and ready, but it works. I use out-gridview , so I can copy and pate into Excel. You will need to modify […]
Continue reading…
Microsoft Best Practice Infrastructure Planning and Design Guide Series
I am surprised a lot of people do no know these guides exist http://technet.microsoft.com/en-nz/solutionaccelerators/ee382254.aspx If you want to know how to configure your Active Directory environment and other Microsoft products , look at these first Some of it is a bit out of date: For Exchange 2013 – If you want to know how to […]
Continue reading…