Windows: Setting up Domain Configuration Services from Powershell

Hey peeps,

 

So here are some useful commands on setting up Domain Services from PowerShell, figured I’d give this a try on a fresh DC VM running only Core.

Install-ADDSDomainController – Installs a domain controller in Active Directory.
Install-ADDSDomain – Installs a new Active Directory domain configuration.
Install-ADDSForest – Installs a new Active Directory forest configuration.
Install-WindowsFeature – Installs one or more Windows Server roles, role services, or
features.

also, found this useful for finding the IP information on the other DC’s from command prompt. 🙂

winrs -r:dc3.g15it.com netstat