How to Demote Domain Controller PowerShell- Server 2012 R2

How to Demote Domain Controller PowerShell- Server 2012 R2

In other article, we already talked about the steps to promote Domain Controller from GUI and promote domain controller with PowerShell. In this article, we’ll learn the steps to uninstall Domain controller PowerShell. PowerShell is a great tool available in Windows Operating Systems. It can automate the task and minimize the manual intervention.

Steps to demote Domain Controller using Powershell

1. Before we initiate DC demotion, run the test command to check any dependence or issues that could interrupt demotion process. This is kind of simulation that we can run without initiating demotion process.

2. To run the test command type “Test-ADDSDomainControllerUninstallation -DemoteOperationMasterRole -LastDomainControllerInDomain -RemoveApplicationpartitions“.

active-directory-group-policy-2012-lab
Share this post:

One thought on “How to Demote Domain Controller PowerShell- Server 2012 R2

  • December 1, 2016 at 4:11 pm
    Permalink

    Wow, fantastic weblog format! How long have you ever
    been blogging for? you made running a blog glance easy. The entire look of your site is fantastic. I love the way you have explained the steps to Demote Domain Controller using power-shell commands. Frankly I wasn’t aware of PowerShell commands. This article is really very helpful.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *