Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 10a5048

Browse files
v4.6.0
1 parent 1ab15f5 commit 10a5048

24 files changed

+2784
-67
lines changed

Configurations/Archive/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Configuration Archive
22

33
The configurations in this directory have been retained for archive and reference purposes only.
4-
There is no guarantee that any of these configurations are current or will work with newer versions of AutoLab.
4+
There is no guarantee that any of these configurations are current or will work with newer versions of AutoLab.

Configurations/Implement-Windows-Server-DHCP-2016/VMConfiguration.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ $LabData = Import-PowerShellDataFile -Path $psscriptroot\*.psd1
305305
Credential = $DomainCredential
306306
DependsOn = '[xWaitForADDomain]DSCForestWait'
307307
}
308-
}#end DomianJoin Config
308+
}#end DomainJoin Config
309309
#endregion
310310

311311
#region RSAT config

Configurations/Jason-DSC-Env/VMConfiguration.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ Configuration AutoLab {
299299
Credential = $DomainCredential
300300
DependsOn = '[xWaitForADDomain]DSCForestWait'
301301
}
302-
}#end DomianJoin Config
302+
}#end DomainJoin Config
303303
#endregion
304304
#region RSAT config
305305
node $AllNodes.Where( {$_.Role -eq 'RSAT'}).NodeName {
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
[
2+
{
3+
"DistinguishedName": "CN=IT,OU=IT,DC=Company,DC=Pri",
4+
"Name": "IT",
5+
"GroupCategory": "Security",
6+
"GroupScope": "Global",
7+
"Members": [
8+
"MikeS",
9+
"MaryL"
10+
]
11+
},
12+
{
13+
"DistinguishedName": "CN=Sales,OU=Sales,DC=Company,DC=Pri",
14+
"Name": "Sales",
15+
"GroupCategory": "Security",
16+
"GroupScope": "Global",
17+
"Members": [
18+
"SamanthaS",
19+
"SonyaS",
20+
"SamS"
21+
]
22+
},
23+
{
24+
"DistinguishedName": "CN=Marketing,OU=Marketing,DC=Company,DC=Pri",
25+
"Name": "Marketing",
26+
"GroupCategory": "Security",
27+
"GroupScope": "Global",
28+
"Members": [
29+
"MattS",
30+
"MonicaS",
31+
"MarkS"
32+
]
33+
},
34+
{
35+
"DistinguishedName": "CN=Accounting,OU=Accounting,DC=Company,DC=Pri",
36+
"Name": "Accounting",
37+
"GroupCategory": "Security",
38+
"GroupScope": "Global",
39+
"Members": [
40+
"AaronS",
41+
"AndreaS",
42+
"AndyS"
43+
]
44+
},
45+
{
46+
"DistinguishedName": "CN=JEA Operators,OU=JEA_Operators,DC=Company,DC=Pri",
47+
"Name": "JEA Operators",
48+
"GroupCategory": "Security",
49+
"GroupScope": "Global",
50+
"Members": [
51+
"JimJ",
52+
"JillJ"
53+
]
54+
}
55+
56+
]
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
[
2+
{
3+
"Name": "IT",
4+
"Description": null
5+
},
6+
{
7+
"Name": "Dev",
8+
"Description": null
9+
},
10+
{
11+
"Name": "Marketing",
12+
"Description": null
13+
},
14+
{
15+
"Name": "Sales",
16+
"Description": null
17+
},
18+
{
19+
"Name": "Accounting",
20+
"Description": null
21+
},
22+
{
23+
"Name": "JEA_Operators",
24+
"Description": null
25+
},
26+
{
27+
"Name": "Servers",
28+
"Description": null
29+
}
30+
31+
]
Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
[
2+
{
3+
"DistinguishedName": "CN=MaryL,OU=IT,DC=Company,DC=Pri",
4+
"Name": "MaryL",
5+
"SamAccountName": "MaryL",
6+
"GivenName": "Mary",
7+
"Surname": "Lennon",
8+
"DisplayName": "Mary Lennon",
9+
"Description": "Main IT",
10+
"Department": "IT"
11+
},
12+
{
13+
"DistinguishedName": "CN=MikeS,OU=IT,DC=Company,DC=Pri",
14+
"Name": "MikeS",
15+
"SamAccountName": "MikeS",
16+
"GivenName": "Mike",
17+
"Surname": "Smith",
18+
"DisplayName": "Mike Smith",
19+
"Description": "Backup IT",
20+
"Department": "IT"
21+
},
22+
{
23+
"DistinguishedName": "CN=SimonS,OU=Dev,DC=Company,DC=Pri",
24+
"Name": "SimonS",
25+
"SamAccountName": "SimonS",
26+
"GivenName": "Simon",
27+
"Surname": "Smith",
28+
"DisplayName": "Simon Smith",
29+
"Description": "The Developer",
30+
"Department": "Dev"
31+
},
32+
{
33+
"DistinguishedName": "CN=AaronS,OU=Accounting,DC=Company,DC=Pri",
34+
"Name": "AaronS",
35+
"SamAccountName": "AaronS",
36+
"GivenName": "Aaron",
37+
"Surname": "Smith",
38+
"DisplayName": "Aaron Smith",
39+
"Description": "Accountant",
40+
"Department": "Accounting"
41+
},
42+
{
43+
"DistinguishedName": "CN=AndreaS,OU=Accounting,DC=Company,DC=Pri",
44+
"Name": "AndreaS",
45+
"SamAccountName": "AndreaS",
46+
"GivenName": "Andrea",
47+
"Surname": "Smith",
48+
"DisplayName": "Andrea Smith",
49+
"Description": "Accountant",
50+
"Department": "Accounting"
51+
},
52+
{
53+
"DistinguishedName": "CN=AndyS,OU=Accounting,DC=Company,DC=Pri",
54+
"Name": "AndyS",
55+
"SamAccountName": "AndyS",
56+
"GivenName": "Andy",
57+
"Surname": "Smith",
58+
"DisplayName": "Andy Smith",
59+
"Description": "Accountant",
60+
"Department": "Accounting"
61+
},
62+
{
63+
"DistinguishedName": "CN=SamS,OU=Sales,DC=Company,DC=Pri",
64+
"Name": "SamS",
65+
"SamAccountName": "SamS",
66+
"GivenName": "Sam",
67+
"Surname": "Smith",
68+
"DisplayName": "Sam Smith",
69+
"Description": "Sales",
70+
"Department": "Sales"
71+
},
72+
{
73+
"DistinguishedName": "CN=SonyaS,OU=Sales,DC=Company,DC=Pri",
74+
"Name": "SonyaS",
75+
"SamAccountName": "SonyaS",
76+
"GivenName": "Sonya",
77+
"Surname": "Smith",
78+
"DisplayName": "Sonya Smith",
79+
"Description": "Sales",
80+
"Department": "Sales"
81+
},
82+
{
83+
"DistinguishedName": "CN=SamanthaS,OU=Sales,DC=Company,DC=Pri",
84+
"Name": "SamanthaS",
85+
"SamAccountName": "SamanthaS",
86+
"GivenName": "Samantha",
87+
"Surname": "Smith",
88+
"DisplayName": "Samantha Smith",
89+
"Description": "Sales",
90+
"Department": "Sales"
91+
},
92+
{
93+
"DistinguishedName": "CN=MarkS,OU=Marketing,DC=Company,DC=Pri",
94+
"Name": "MarkS",
95+
"SamAccountName": "MarkS",
96+
"GivenName": "Mark",
97+
"Surname": "Smith",
98+
"DisplayName": "Mark Smith",
99+
"Description": "Marketing",
100+
"Department": "Marketing"
101+
},
102+
{
103+
"DistinguishedName": "CN=MonicaS,OU=Marketing,DC=Company,DC=Pri",
104+
"Name": "MonicaS",
105+
"SamAccountName": "MonicaS",
106+
"GivenName": "Monica",
107+
"Surname": "Smith",
108+
"DisplayName": "Monica Smith",
109+
"Description": "Marketing",
110+
"Department": "Marketing"
111+
},
112+
{
113+
"DistinguishedName": "CN=MattS,OU=Marketing,DC=Company,DC=Pri",
114+
"Name": "MattS",
115+
"SamAccountName": "MattS",
116+
"GivenName": "Matt",
117+
"Surname": "Smith",
118+
"DisplayName": "Matt Smith",
119+
"Description": "Marketing",
120+
"Department": "Marketing"
121+
},
122+
{
123+
"DistinguishedName": "CN=JimJ,OU=JEA_Operators,DC=Company,DC=Pri",
124+
"Name": "JimJ",
125+
"SamAccountName": "JimJ",
126+
"GivenName": "Jim",
127+
"Surname": "Jea",
128+
"DisplayName": "Jim Jea",
129+
"Description": "JEA",
130+
"Department": "IT"
131+
},
132+
{
133+
"DistinguishedName": "CN=JillJ,OU=JEA_Operators,DC=Company,DC=Pri",
134+
"Name": "JillJ",
135+
"SamAccountName": "JillJ",
136+
"GivenName": "Jill",
137+
"Surname": "Jea",
138+
"DisplayName": "Jill Jea",
139+
"Description": "JEA",
140+
"Department": "IT"
141+
}
142+
]
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Lab Definition
2+
3+
This lab builds the following:
4+
5+
* 1 Domain controller DC1 running Windows Server 2016 Core
6+
* 1 Server (S1) running Windows Server 2016
7+
* 1 Nano server (N1)
8+
* 1 Window 10 Client with RSAT (Cli1)
9+
10+
## To get started
11+
12+
To run the full lab setup, which includes Setup-Lab, Run-Lab, Enable-Internet, and Validate-Lab:
13+
PS> Unattend-Lab
14+
15+
To run the commands individually to setup the lab environment:
16+
17+
Run the following for initial setup:
18+
PS> Setup-Lab
19+
20+
To start the Lab, and apply configurations the first time:
21+
PS> Run-Lab
22+
23+
To enable Internet access for the VM's, run:
24+
PS> Enable-Internet
25+
26+
To validate when configurations have converged:
27+
PS> Validate-Lab
28+
29+
Once validation is complete you should connect to the VM, logon as the non-administrator account and let Windows 10 finish setting up. Then restart the computer applying any pending updates. After this you can, and should, snapshot the VM.
30+
31+
## To Stop and snapshot the lab
32+
33+
To stop the lab VM's:
34+
PS> Shutdown-lab
35+
36+
To checkpoint the VM's:
37+
PS> Snapshot-Lab
38+
39+
To quickly rebuild the labs from the checkpoint, run:
40+
PS> Refresh-Lab
41+
42+
## To Patch a lab
43+
44+
If you want to make sure the virtual machines have the latest updates from Microsoft, you can run this command:
45+
46+
PS> Update-Lab
47+
48+
Because this may take some time to run, you can also run it as a background job.
49+
50+
PS> Update-Lab -asjob
51+
52+
## To remove a lab
53+
54+
To destroy the lab to build again:
55+
PS> Wipe-Lab
56+
57+
You will be prompted for each virtual machine. Or you can force the removal and suppress the prompts:
58+
59+
PS> Wipe-Lab -force

0 commit comments

Comments
 (0)