Installing domain controller using powershell
From MyWiki
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