Difference between revisions of "Installing domain controller using powershell"

From MyWiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
  
 
<source lang="powershell">
 
<source lang="powershell">
Get-WindowsFeature AD-Doamin-Services
+
Get-WindowsFeature AD-Domain-Services
 
Get-WindowsFeature AD-Domain-Services | Install-WindowsFeature
 
Get-WindowsFeature AD-Domain-Services | Install-WindowsFeature
 
Test-ADDSForestInstallation
 
Test-ADDSForestInstallation
Line 9: Line 9:
  
 
Import-Module ADDSDeployment
 
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