Difference between revisions of "Installing domain controller using powershell"

From MyWiki
Jump to: navigation, search
 
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

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