Skip to content

Instantly share code, notes, and snippets.

@nivleshc
Created May 26, 2018 13:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nivleshc/e1527eeb6d6ac7f556ded9f0d261e295 to your computer and use it in GitHub Desktop.
Save nivleshc/e1527eeb6d6ac7f556ded9f0d261e295 to your computer and use it in GitHub Desktop.
Add-WindowsComponents.ps1 PowerShell script used by CloudFormation template to deploy Active Directory Domain Services
Add-WindowsFeature -Name RSAT-AD-PowerShell
Add-WindowsFeature -Name AD-Domain-Services -IncludeAllSubFeature -IncludeManagementTools
Add-WindowsFeature -Name DNS -IncludeAllSubFeature -IncludeManagementTools
Add-WindowsFeature -Name GPMC -IncludeAllSubFeature -IncludeManagementTools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment