Skip to content

Install-ADDSForest has a wrong argument #3709

Open
@egorpavlikhin

Description

@egorpavlikhin

The example listed has a wrong argument, InstallDNS should be InstallDns:

PS C:\Users\vagrant> Install-ADDSForest -DomainName "sampledomain.local" -InstallDNS
WARNING: A script or application on the remote computer LOCALHOST is sending a prompt request. When you are prompted, enter sensitive information, such as credentials or passwords, only if you trust the remote computer and the application or script that is requesting the data.
SafeModeAdministratorPassword: **************
WARNING: A script or application on the remote computer LOCALHOST is sending a prompt request. When you are prompted, enter sensitive information, such as credentials or passwords, only if you trust the remote computer and the application or script that is requesting the data.
Confirm SafeModeAdministratorPassword: **************

The target server will be configured as a domain controller and restarted when this operation is complete.
Do you want to continue with this operation?
[Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): Y
Install-ADDSForest: Verification of prerequisites for Domain Controller promotion failed. The specified argument 'InstallDNS' was not recognized.

RunspaceId : faac3bd3-a2eb-4e74-bf47-d4e7125c95b1
Message : Verification of prerequisites for Domain Controller promotion failed. The specified argument
'InstallDNS' was not recognized.

Context : Test.VerifyDcPromoCore.DCPromo.General.77
RebootRequired : False
Status : Error


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

area-addsdeploymentIssues for addsdeployment moduledoc-bugFor Upwork freelance team categories/reporting.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions