1
1
<# Notes:
2
2
3
- Authors: Jason Helmick and Melissa (Missy) Janusko
3
+ Authors: Jason Helmick and Melissa (Missy) Januszko
4
4
5
5
The bulk of this DC, DHCP, ADCS config is authored by Melissa (Missy) Januszko and Jason Helmick.
6
6
Currently on her public DSC hub located here: https://github.com/majst32/DSC_public.git
@@ -32,6 +32,13 @@ demonstrations and would need to be modified for your environment.
32
32
IPNetwork = ' 192.168.3.0/24'
33
33
IPNatName = ' LabNat'
34
34
DnsServerAddress = ' 192.168.3.10'
35
+
36
+ # Firewall settings to enable
37
+ FirewallRuleNames = @ (
38
+ ' FPS-ICMP4-ERQ-In' ;
39
+ ' FPS-ICMP6-ERQ-In' ;
40
+ ' FPS-SMB-In-TCP'
41
+ )
35
42
36
43
# Domain and Domain Controller information
37
44
DomainName = " Company.Pri"
@@ -54,10 +61,22 @@ demonstrations and would need to be modified for your environment.
54
61
DHCPDnsServerIPAddress = ' 192.168.3.10'
55
62
DHCPRouter = ' 192.168.3.1'
56
63
64
+ # ADCS Certificate Services information
65
+ CACN = ' Company.Pri'
66
+ CADNSuffix = " C=US,L=Phoenix,S=Arizona,O=Company"
67
+ CADatabasePath = " C:\windows\system32\CertLog"
68
+ CALogPath = " C:\CA_Logs"
69
+ ADCSCAType = ' EnterpriseRootCA'
70
+ ADCSCryptoProviderName = ' RSA#Microsoft Software Key Storage Provider'
71
+ ADCSHashAlgorithmName = ' SHA256'
72
+ ADCSKeyLength = 2048
73
+ ADCSValidityPeriod = ' Years'
74
+ ADCSValidityPeriodUnits = 2
75
+
57
76
# Lability default node settings
58
77
Lability_SwitchName = ' LabNet'
59
78
Lability_ProcessorCount = 1
60
- Lability_StartupMemory = 1 GB
79
+ Lability_MinimumMemory = 1 GB
61
80
SecureBoot = $false
62
81
Lability_Media = ' 2016_x64_Standard_Core_EN_Eval' # Can be Core,Win10,2012R2,nano
63
82
# 2016_x64_Standard_EN_Eval
@@ -74,14 +93,24 @@ demonstrations and would need to be modified for your environment.
74
93
# WIN10_x64_Enterprise_EN_Eval
75
94
}
76
95
96
+ <# Available Roles for computers
97
+ DC = Domain Controller
98
+ DHCP = Dynamic Host Configuration Protocol
99
+ ADCS = Active Directory Certificate SErvices - plus autoenrollment GPO's and DSC and web server certs
100
+ Web = Basic web server
101
+ RSAT = Remote Server Administration Tools for the client
102
+ RDP = enables RDP and opens up required firewall rules
103
+ DomainJoin = joions a computer to the domain
104
+ #>
77
105
@ {
78
106
NodeName = ' DC1'
79
107
IPAddress = ' 192.168.3.10'
80
- Role = ' DC ' # multiple roles @('DC', 'DHCP')
108
+ Role = @ (' DC' , ' DHCP' , ' ADCS ' )
81
109
Lability_BootOrder = 10
82
110
Lability_BootDelay = 60 # Number of seconds to delay before others
83
111
Lability_timeZone = ' US Mountain Standard Time' # [System.TimeZoneInfo]::GetSystemTimeZones()
84
- Lability_StartupMemory = 2 GB
112
+ Lability_Media = ' 2016_x64_Standard_Core_EN_Eval'
113
+ Lability_MinimumMemory = 2 GB
85
114
Lability_ProcessorCount = 2
86
115
CustomBootStrap = @'
87
116
# This must be set to handle larger .mof files
@@ -92,19 +121,24 @@ demonstrations and would need to be modified for your environment.
92
121
@ {
93
122
NodeName = ' S1'
94
123
IPAddress = ' 192.168.3.50'
95
- Role = ' DomainJoin' # example of multiple roles @('DomainJoin', 'Web')
96
- Lability_BootOrder = 20
124
+ # Role = 'DomainJoin' # example of multiple roles @('DomainJoin', 'Web')
125
+ Role = @ (' DomainJoin' )
126
+ Lability_BootOrder = 20
97
127
Lability_timeZone = ' US Mountain Standard Time' # [System.TimeZoneInfo]::GetSystemTimeZones()
128
+ Lability_Media = ' 2016_x64_Standard_Core_EN_Eval'
98
129
}
99
130
100
131
@ {
101
132
NodeName = ' S2'
102
133
IPAddress = ' 192.168.3.51'
103
- Role = ' DomainJoin' # example of multiple roles @('DomainJoin', 'Web')
104
- Lability_BootOrder = 20
134
+ # Role = 'DomainJoin' # example of multiple roles @('DomainJoin', 'Web')
135
+ Role = @ (' DomainJoin' )
136
+ Lability_BootOrder = 20
105
137
Lability_timeZone = ' US Mountain Standard Time' # [System.TimeZoneInfo]::GetSystemTimeZones()
138
+ Lability_Media = ' 2016_x64_Standard_Core_EN_Eval'
106
139
}
107
140
141
+
108
142
@ {
109
143
NodeName = ' N1'
110
144
IPAddress = ' 192.168.3.60'
@@ -118,22 +152,19 @@ demonstrations and would need to be modified for your environment.
118
152
@ {
119
153
NodeName = ' Cli1'
120
154
IPAddress = ' 192.168.3.100'
121
- Role = @ (' domainJoin' , ' RSAT' )
155
+ Role = @ (' domainJoin' , ' RSAT' , ' RDP ' )
122
156
Lability_ProcessorCount = 2
123
- Lability_StartupMemory = 4 GB
157
+ Lability_MinimumMemory = 2 GB
124
158
Lability_Media = ' WIN10_x64_Enterprise_EN_Eval'
125
159
Lability_BootOrder = 20
126
160
Lability_timeZone = ' US Mountain Standard Time' # [System.TimeZoneInfo]::GetSystemTimeZones()
127
161
Lability_Resource = @ (' Win10RSAT' )
128
162
CustomBootStrap = @'
129
163
# To enable PSRemoting on the client
130
164
Enable-PSRemoting -SkipNetworkProfileCheck -Force;
131
- # To enable RDP
132
- Set-ItemProperty -Path "HKLM:\System\ControlSet001\Control\Terminal Server" -Name "fDenyTSConnections" -Value 0;
133
-
134
165
'@
135
166
}
136
-
167
+ # >
137
168
138
169
);
139
170
NonNodeData = @ {
@@ -178,7 +209,6 @@ demonstrations and would need to be modified for your environment.
178
209
@ { Name = ' xPendingReboot' ; RequiredVersion = ' 0.3.0.0' ; },
179
210
@ { Name = ' xADCSDeployment' ; RequiredVersion = ' 1.0.0.0' ; }
180
211
181
-
182
212
);
183
213
Resource = @ (
184
214
@ {
0 commit comments