CmdID

CmdID / PowerShell / Cmdlets / Test

Test-ADDSDomainControllerUninstallation

Runs the prerequisites for uninstalling a domain controller in Active Directory. Windows Server PowerShell reference

From the Windows Server PowerShell reference 13 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

13 in the Windows Server PowerShell reference
-CredentialSpecifies the user name and password that corresponds to the account used to install the domain controller.
-DemoteOperationMasterRoleIndicates that forced demotion should continue even if an operations master role is discovered on the domain controller from which AD DS is being removed.
-DnsDelegationRemovalCredentialSpecifies the account credentials to use when you create or remove the DNS delegation.
-ForceForces the command to run without asking for user confirmation.
-ForceRemovalIndicates that the cmdlet forces the removal of a domain controller.
-IgnoreLastDCInDomainMismatchIndicates that Windows PowerShell ignores any inconsistency that it detects with the value that you specify for the LastDomainControllerInDomain parameter.
-IgnoreLastDnsServerForZoneIndicates that the cmdlet continues the removal of AD DS despite the fact that the domain controller is the last DNS server for one or more of the Active Directory-integrated DNS zones that it hosts.
-LastDomainControllerInDomainIndicates that the cmdlet removes AD DS from the last controller in the domain.
-LocalAdministratorPasswordSpecifies a local administrator account password when AD DS is removed from a domain controller.
-NoRebootOnCompletionIndicates that the cmdlet does not restart the computer upon completion, regardless of success.
-RemoveApplicationPartitionsIndicates that the cmdlet removes application partitions during the removal of AD DS from a domain controller.
-RemoveDnsDelegationIndicates that the cmdlet preserves DNS delegations that point to this DNS server from the parent DNS zone.
-RetainDCMetadataIndicates that the domain controller should retain metadata for the domain after removal of AD DS.