Inside Webster’s Lab: Removing Domain Controller Using PowerShell

With all the writing I do for my website and customers, I recreate my Windows Server 2012 R2 Active Directory (AD) environment frequently.  Sometimes I just need a fresh start and I need to demote my domain controller, remove all the Active Directory related Roles and Features and just start over.  This article will show how I use PowerShell to accomplish these tasks.