Difference between revisions of "Installing domain controller using powershell"
From MyWiki
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
<source lang="powershell"> | <source lang="powershell"> | ||
− | Get-WindowsFeature AD- | + | Get-WindowsFeature AD-Domain-Services |
Get-WindowsFeature AD-Domain-Services | Install-WindowsFeature | Get-WindowsFeature AD-Domain-Services | Install-WindowsFeature | ||
Test-ADDSForestInstallation | Test-ADDSForestInstallation | ||
Test-ADDSDomainInstallation | Test-ADDSDomainInstallation | ||
Test-ADDSDomainControllerInstallation | Test-ADDSDomainControllerInstallation | ||
+ | |||
+ | Import-Module ADDSDeployment | ||
+ | Install-ADDSDomainController | ||
</source> | </source> |
Latest revision as of 11:35, 14 April 2015
Reference - https://www.brandonlawson.com/active-directory/installing-a-2012-domain-controller-with-powershell/
Get-WindowsFeature AD-Domain-Services Get-WindowsFeature AD-Domain-Services | Install-WindowsFeature Test-ADDSForestInstallation Test-ADDSDomainInstallation Test-ADDSDomainControllerInstallation Import-Module ADDSDeployment Install-ADDSDomainController