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

Commit 43d25d9

Browse files
v4.12.0
1 parent 0d0c40a commit 43d25d9

File tree

17 files changed

+532
-177
lines changed

17 files changed

+532
-177
lines changed

Configurations/MultiRole-Server-2016/Instructions.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
This is an updated and revised configuration of the now retired POC-Multirole.
44
If you were instructed to use that configuration, this one should work for you.
5+
This configuration no longer includes the deprecated NanoServer image.
56

67
This lab builds the following:
78

@@ -17,18 +18,12 @@ This lab builds the following:
1718
IPAddress : 192.168.3.50
1819
MemoryGB : 1
1920

20-
Computername : N1
21-
Description : Windows Server 2016 Standard Nano 64bit English Evaluation
22-
Role :
23-
IPAddress : 192.168.3.60
24-
MemoryGB : 1
25-
2621
Computername : Cli1
2722
Description : Windows 10 64bit Enterprise 1903 English Evaluation
2823
Role : {domainJoin, RSAT, RDP}
2924
IPAddress : 192.168.3.100
3025
MemoryGB : 2
31-
26+
3227
## To get started
3328

3429
To run the full lab setup, which includes Setup-Lab, Run-Lab, Enable-Internet, and Validate-Lab:

Configurations/MultiRole-Server-2016/VMConfigurationData.psd1

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ This example code is provided without copyright and AS IS. It is free for you t
7373
Lability_ProcessorCount = 1
7474
Lability_MinimumMemory = 1GB
7575
SecureBoot = $false
76-
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
76+
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
7777
}
7878

7979
<# Available Roles for computers
@@ -110,16 +110,17 @@ This example code is provided without copyright and AS IS. It is free for you t
110110
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
111111
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
112112
}
113-
114-
@{
115-
NodeName = 'N1'
116-
IPAddress = '192.168.3.60'
117-
#Role = 'Nano'
118-
Lability_BootOrder = 20
119-
Lability_Media = '2016_x64_Standard_Nano_DSC_EN_Eval'
120-
Lability_ProcessorCount = 1
121-
Lability_StartupMemory = 1GB
122-
}
113+
<#
114+
@{
115+
NodeName = 'N1'
116+
IPAddress = '192.168.3.60'
117+
#Role = 'Nano'
118+
Lability_BootOrder = 20
119+
Lability_Media = '2016_x64_Standard_Nano_DSC_EN_Eval'
120+
Lability_ProcessorCount = 1
121+
Lability_StartupMemory = 1GB
122+
}
123+
#>
123124

124125
@{
125126
NodeName = 'Cli1'
@@ -141,7 +142,7 @@ This example code is provided without copyright and AS IS. It is free for you t
141142
)
142143
NonNodeData = @{
143144
Lability = @{
144-
145+
145146
# You can uncomment this line to add a prefix to the virtual machine name.
146147
# It will not change the guest computername
147148
# See https://github.com/pluralsight/PS-AutoLab-Env/blob/master/Detailed-Setup-Instructions.md
@@ -150,6 +151,7 @@ This example code is provided without copyright and AS IS. It is free for you t
150151
#EnvironmentPrefix = 'AutoLab-'
151152
Media = (
152153
@{
154+
<#
153155
## This media is a replica of the default '2016_x64_Standard_Nano_EN_Eval' media
154156
## with the additional 'Microsoft-NanoServer-DSC-Package' package added.
155157
Id = '2016_x64_Standard_Nano_DSC_EN_Eval'
@@ -169,8 +171,9 @@ This example code is provided without copyright and AS IS. It is free for you t
169171
Package = @(
170172
'Microsoft-NanoServer-Guest-Package',
171173
'Microsoft-NanoServer-DSC-Package'
172-
)
173-
}
174+
)
175+
}
176+
#>
174177
}
175178
) # Custom media additions that are different than the supplied defaults (media.json)
176179
Network = @( # Virtual switch in Hyper-V
@@ -189,7 +192,6 @@ This example code is provided without copyright and AS IS. It is free for you t
189192
)
190193
Resource = @(
191194
@{
192-
193195
Id = 'Win10RSAT'
194196
Filename = 'WindowsTH-RSAT_WS2016-x64.msu'
195197
Uri = 'https://download.microsoft.com/download/1/D/8/1D8B5022-5477-4B9A-8104-6A71FF9D98AB/WindowsTH-RSAT_WS2016-x64.msu'

Configurations/MultiRole-Server-2016/VMValidate.test.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ $cred = New-Object PSCredential "Company\Administrator", $Secure
1212
#The prefix only changes the name of the VM not the guest computername
1313
$prefix = $Labdata.NonNodeData.Lability.EnvironmentPrefix
1414

15-
1615
$all = @()
1716
Describe DC1 {
1817
$VMName = "$($prefix)DC1"
@@ -114,7 +113,7 @@ Describe S1 {
114113

115114
} #S1
116115

117-
116+
<#
118117
Describe N1 {
119118
120119
$VMName = "$($prefix)N1"
@@ -150,6 +149,7 @@ Describe N1 {
150149
}
151150
}
152151
}
152+
#>
153153

154154
Describe Cli1 {
155155

Configurations/MultiRole/Instructions.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
This is an updated and revised configuration of the now retired POC-Multirole.
44
If you were instructed to use that configuration, this one should work for you.
5+
The NanoServer images has been removed from this configuration because it is no longer a valid platform.
56

67
The lab builds the following:
78

@@ -17,12 +18,6 @@ The lab builds the following:
1718
IPAddress : 192.168.3.50
1819
MemoryGB : 1
1920

20-
Computername : N1
21-
Description : Windows Server 2016 Standard Nano 64bit English Evaluation
22-
Role :
23-
IPAddress : 192.168.3.60
24-
MemoryGB : 1
25-
2621
Computername : Cli1
2722
Description : Windows 10 64bit Enterprise 1903 English Evaluation
2823
Role : {domainJoin, RSAT, RDP}

Configurations/MultiRole/VMConfigurationData.psd1

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ This example code is provided without copyright and AS IS. It is free for you t
148148
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
149149
Lability_Media = '2019_x64_Standard_EN_Core_Eval'
150150
}
151-
151+
<#
152152
@{
153153
NodeName = 'N1'
154154
IPAddress = '192.168.3.60'
@@ -158,7 +158,7 @@ This example code is provided without copyright and AS IS. It is free for you t
158158
Lability_ProcessorCount = 1
159159
Lability_StartupMemory = 1GB
160160
}
161-
161+
#>
162162
@{
163163
NodeName = 'Cli1'
164164
IPAddress = '192.168.3.100'
@@ -188,6 +188,7 @@ This example code is provided without copyright and AS IS. It is free for you t
188188
#EnvironmentPrefix = 'AutoLab-'
189189
Media = (
190190
@{
191+
<#
191192
## This media is a replica of the default '2016_x64_Standard_Nano_EN_Eval' media
192193
## with the additional 'Microsoft-NanoServer-DSC-Package' package added.
193194
Id = '2016_x64_Standard_Nano_DSC_EN_Eval';
@@ -207,8 +208,9 @@ This example code is provided without copyright and AS IS. It is free for you t
207208
Package = @(
208209
'Microsoft-NanoServer-Guest-Package',
209210
'Microsoft-NanoServer-DSC-Package'
210-
)
211-
}
211+
)
212+
}
213+
#>
212214
}
213215
) # Custom media additions that are different than the supplied defaults (media.json)
214216
Network = @( # Virtual switch in Hyper-V

Configurations/MultiRole/VMValidate.test.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ Describe S1 {
115115

116116
} #S1
117117

118-
118+
<#
119119
Describe N1 {
120120
121121
$VMName = "$($prefix)N1"
@@ -158,6 +158,7 @@ Describe N1 {
158158
}
159159
}
160160
}
161+
#>
161162

162163
Describe Cli1 {
163164

Configurations/microsoft-powershell-implementing-jea/Instructions.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,15 @@ This lab builds the following:
1414
IPAddress : 192.168.3.50
1515
MemoryGB : 1
1616

17-
Computername : N1
18-
Description : Windows Server 2016 Standard Nano 64bit English Evaluation
19-
Role :
20-
IPAddress : 192.168.3.60
21-
MemoryGB : 1
22-
2317
Computername : Cli1
2418
Description : Windows 10 64bit Enterprise 1903 English Evaluation
2519
Role : {domainJoin, RSAT, RDP}
2620
IPAddress : 192.168.3.100
2721
MemoryGB : 2
28-
29-
## To get started
22+
23+
This configuration no longer includes the NanoServer image since it is now deprecated.
24+
25+
## To Get Started
3026

3127
To run the full lab setup, which includes Setup-Lab, Run-Lab, Enable-Internet, and Validate-Lab:
3228
PS> Unattend-Lab
@@ -45,7 +41,7 @@ This lab builds the following:
4541
To validate when configurations have converged:
4642
PS> Validate-Lab
4743

48-
## To Stop and snapshot the lab
44+
## To Stop and Snapshot the Lab
4945

5046
To stop the lab VMs:
5147
PS> Shutdown-lab
@@ -56,7 +52,7 @@ This lab builds the following:
5652
To quickly rebuild the labs from the checkpoint, run:
5753
PS> Refresh-Lab
5854

59-
## To Patch a lab
55+
## To Patch a Lab
6056

6157
If you want to make sure the virtual machines have the latest updates from Microsoft, you can run this command:
6258

@@ -66,7 +62,7 @@ This lab builds the following:
6662

6763
PS> Update-Lab -asjob
6864

69-
## To remove a lab
65+
## To Remove a Lab
7066

7167
To destroy the lab to build again:
7268
PS> Wipe-Lab

Configurations/microsoft-powershell-implementing-jea/VMConfigurationData.psd1

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,17 +149,17 @@ This example code is provided without copyright and AS IS. It is free for you t
149149
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
150150
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
151151
}
152-
153-
@{
154-
NodeName = 'N1'
152+
<#
153+
@{
154+
NodeName = 'N1'
155155
IPAddress = '192.168.3.60'
156156
#Role = 'Nano'
157157
Lability_BootOrder = 20
158158
Lability_Media = '2016_x64_Standard_Nano_DSC_EN_Eval'
159159
Lability_ProcessorCount = 1
160160
Lability_StartupMemory = 1GB
161161
}
162-
162+
#>
163163
@{
164164
NodeName = 'Cli1'
165165
IPAddress = '192.168.3.100'
@@ -189,8 +189,9 @@ This example code is provided without copyright and AS IS. It is free for you t
189189
#EnvironmentPrefix = 'AutoLab-'
190190
Media = (
191191
@{
192-
## This media is a replica of the default '2016_x64_Standard_Nano_EN_Eval' media
193-
## with the additional 'Microsoft-NanoServer-DSC-Package' package added.
192+
<#
193+
## This media is a replica of the default '2016_x64_Standard_Nano_EN_Eval' media
194+
## with the additional 'Microsoft-NanoServer-DSC-Package' package added.
194195
Id = '2016_x64_Standard_Nano_DSC_EN_Eval';
195196
Filename = '2016_x64_EN_Eval.iso';
196197
Description = 'Windows Server 2016 Standard Nano 64bit English Evaluation';
@@ -208,8 +209,9 @@ This example code is provided without copyright and AS IS. It is free for you t
208209
Package = @(
209210
'Microsoft-NanoServer-Guest-Package',
210211
'Microsoft-NanoServer-DSC-Package'
211-
)
212-
}
212+
)
213+
}
214+
#>
213215
}
214216
) # Custom media additions that are different than the supplied defaults (media.json)
215217
Network = @( # Virtual switch in Hyper-V

0 commit comments

Comments
 (0)