This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #requires -Version 4.0 | |
| <# | |
| Author: Luke Murray (Luke.Geek.NZ) | |
| Version: 0.1 | |
| Purpose: Windows Server 2016 Baseline Hardening using DSC per DoD DISA STIG recommendations 22/06/18. | |
| #> | |
| Configuration 'Server2016' | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Configuration Pull { | |
| param ( | |
| [Parameter()] [ValidateNotNull()] [PSCredential] $Credential = (Get-Credential -Credential 'Administrator') | |
| ) | |
| Import-DscResource -Module PSDesiredStateConfiguration | |
| Import-DscResource -Module XActiveDirectory | |
| Import-DscResource -Module XPSDesiredStateConfiguration | |
| Import-DscResource -Module xAdcsDeployment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @{ | |
| AllNodes = @( | |
| @{ | |
| NodeName = '*' | |
| Lability_SwitchName = 'External' | |
| DomainName = 'globomantics.com' | |
| Lability_StartupMemory = 2GB; | |
| PSDscAllowPlainTextPassword = $true; | |
| } | |