Goatee PFE

Blog of Microsoft Premier Field Engineer Ashley McGlone featuring PowerShell scripts for Active Directory.

April, 2013

  • Touch-Free PowerShell DCPROMO in Windows Server 2012

    Do you schedule DCPROMO activities for the weekend?  After hours?  Middle of the night?  I remember those days.  Often it was hard to get in the right frame of mind to think through all of the exact procedural steps during those late night change controls.

    Today’s post will show you how to easily promote and demote a Windows Server 2012 domain controller remotely with a script.  You don’t even need to logon to the target server.

    Generally change controls have three plans:

    • Implementation
    • Validation
    • Back-Out

    You have all three of these scripts for DCPROMO in today’s post.