By dotCore
via blogs.msdn.com
Submitted: Mar 07 2013 / 18:10
I was onsite with a customer this week reviewing their Active Directory configuration. During the visit the system admin I was working with mentioned he needed to run DCDIAG and NETDIAG on every domain controller (DC) in his domain and collect the output to prepare for their upcoming migration to Office 365. When I got there he was logging into each via terminal services to collect the information. I recognized these tasks as something we could automate with a simple batch file using a FOR loop so I suggested we spend a few minutes putting the scripts together.
Add your comment