domingo, outubro 05, 2014

How to install domain controllers by using Windows PowerShell

Install Active Directory Domain Services role with using this command:

>Install-windowsFeature -Name AD-Domain-Services -IncludeManagementTools

You can get information about cmdlets:
>get-command -module ADDSDeployment

Create a new forest with the name contoso.local and install DNS with all default options.
>Install-ADDSForest -DomainName "contoso.local" -InstallDNS

Nenhum comentário: