Jhordany
Jhordany

Reputation: 11

Active directory using Powershell on Windows server 2019, argument ‘NewDomain’ not recognised

I am trying to set up an active directory forest on Windows server 2019 through powershell. This server will be the only domain controller for now. I have set my static IP address, the DNS is set to use this same static IP address.

I am trying to follow this tutorial

When I try to run the command:

Install-ADDSForest -DomainName "corp.contoso.com"

I get an error-message that is confusing to me. It says:

Install-ADDSForest: Verification of prerequisites for Domain Controller promotion failed. The specified argument ‘NewDomain’ was not recognised.

This is confusing to me because I am not supplying the argument NewDomain, it is like some other process intercepts my command and decides to add this argument.

Any help would be appreciated. I have gotten this in at least two environments and I also applied the latest updates.

Thanks in advance.

I tried uninstalling the whole thing to start fresh and probably re-install any modules that could be buggy but it does not let me union the domain.

Upvotes: 0

Views: 65

Answers (0)

Related Questions