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

Commit f2a7db4

Browse files
v4.22.1
1 parent fa9023d commit f2a7db4

File tree

8 files changed

+61
-126
lines changed

8 files changed

+61
-126
lines changed

Configurations/PowerShellLab/Instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This lab builds the following:
2727
MemoryGB : 1
2828

2929
Computername : WIN10
30-
Description : Windows 10 64bit Enterprise 2009 English Evaluation (20H2)
30+
Description : Windows 10 64bit Enterprise 2109/21H2 English Evaluation
3131
Role : {domainJoin, RDP, RSAT}
3232
IPAddress : 192.168.3.100
3333
MemoryGB : 4
@@ -130,4 +130,4 @@ property IsSingleInstance` you might have an older version of a DSCResource modu
130130
Run `Get-Module xdhcpserver -list` and remove anything older than version 3.0.0.
131131

132132
uninstall-module xdhcpserver -RequiredVersion 2.0.0.0
133-
get-la
133+
get-la

Configurations/PowerShellLab/VMConfigurationData.psd1

Lines changed: 49 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ This example code is provided without copyright and AS IS. It is free for you t
1414
@{
1515
AllNodes = @(
1616
@{
17-
NodeName = '*'
17+
NodeName = '*'
1818

1919
# Lab Password - assigned to Administrator and Users
20-
LabPassword = 'P@ssw0rd'
20+
LabPassword = 'P@ssw0rd'
2121

2222
# Common networking
23-
InterfaceAlias = 'Ethernet'
24-
DefaultGateway = '192.168.3.1'
25-
SubnetMask = 24
26-
AddressFamily = 'IPv4'
27-
IPNetwork = '192.168.3.0/24'
28-
IPNatName = 'LabNat'
29-
DnsServerAddress = '192.168.3.10'
23+
InterfaceAlias = 'Ethernet'
24+
DefaultGateway = '192.168.3.1'
25+
SubnetMask = 24
26+
AddressFamily = 'IPv4'
27+
IPNetwork = '192.168.3.0/24'
28+
IPNatName = 'LabNat'
29+
DnsServerAddress = '192.168.3.10'
3030

3131
# Firewall settings to enable
32-
FirewallRuleNames = @(
32+
FirewallRuleNames = @(
3333
'FPS-ICMP4-ERQ-In',
3434
'FPS-ICMP6-ERQ-In',
3535
'FPS-SMB-In-TCP',
@@ -40,83 +40,48 @@ This example code is provided without copyright and AS IS. It is free for you t
4040
)
4141

4242
# Domain and Domain Controller information
43-
DomainName = "Company.Pri"
44-
DomainDN = "DC=Company,DC=Pri"
45-
DCDatabasePath = "C:\NTDS"
46-
DCLogPath = "C:\NTDS"
47-
SysvolPath = "C:\Sysvol"
48-
PSDscAllowPlainTextPassword = $true
49-
PSDscAllowDomainUser = $true
43+
DomainName = "Company.Pri"
44+
DomainDN = "DC=Company,DC=Pri"
45+
DCDatabasePath = "C:\NTDS"
46+
DCLogPath = "C:\NTDS"
47+
SysvolPath = "C:\Sysvol"
48+
PSDscAllowPlainTextPassword = $true
49+
PSDscAllowDomainUser = $true
5050

5151
# DHCP Server Data
52-
DHCPName = 'LabNet'
53-
DHCPIPStartRange = '192.168.3.200'
54-
DHCPIPEndRange = '192.168.3.250'
55-
DHCPSubnetMask = '255.255.255.0'
56-
DHCPState = 'Active'
57-
DHCPAddressFamily = 'IPv4'
58-
DHCPLeaseDuration = '00:08:00'
59-
DHCPScopeID = '192.168.3.0'
60-
DHCPDnsServerIPAddress = '192.168.3.10'
61-
DHCPRouter = '192.168.3.1'
52+
DHCPName = 'LabNet'
53+
DHCPIPStartRange = '192.168.3.200'
54+
DHCPIPEndRange = '192.168.3.250'
55+
DHCPSubnetMask = '255.255.255.0'
56+
DHCPState = 'Active'
57+
DHCPAddressFamily = 'IPv4'
58+
DHCPLeaseDuration = '00:08:00'
59+
DHCPScopeID = '192.168.3.0'
60+
DHCPDnsServerIPAddress = '192.168.3.10'
61+
DHCPRouter = '192.168.3.1'
6262

6363
# ADCS Certificate Services information
64-
CACN = 'Company.Pri'
65-
CADNSuffix = "C=US,L=Phoenix,S=Arizona,O=Company"
66-
CADatabasePath = "C:\windows\system32\CertLog"
67-
CALogPath = "C:\CA_Logs"
68-
ADCSCAType = 'EnterpriseRootCA'
69-
ADCSCryptoProviderName = 'RSA#Microsoft Software Key Storage Provider'
70-
ADCSHashAlgorithmName = 'SHA256'
71-
ADCSKeyLength = 2048
72-
ADCSValidityPeriod = 'Years'
73-
ADCSValidityPeriodUnits = 2
64+
CACN = 'Company.Pri'
65+
CADNSuffix = "C=US,L=Phoenix,S=Arizona,O=Company"
66+
CADatabasePath = "C:\windows\system32\CertLog"
67+
CALogPath = "C:\CA_Logs"
68+
ADCSCAType = 'EnterpriseRootCA'
69+
ADCSCryptoProviderName = 'RSA#Microsoft Software Key Storage Provider'
70+
ADCSHashAlgorithmName = 'SHA256'
71+
ADCSKeyLength = 2048
72+
ADCSValidityPeriod = 'Years'
73+
ADCSValidityPeriodUnits = 2
7474

7575
# Lability default node settings
76-
Lability_SwitchName = 'LabNet'
77-
Lability_ProcessorCount = 1
78-
Lability_MinimumMemory = 1GB
79-
Lability_MaximumMemory = 3GB
80-
SecureBoot = $false
81-
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
82-
<#
83-
84-
85-
Id Arch Media Description
86-
-- ---- ----- -----------
87-
2019_x64_Standard_EN_Eval x64 ISO Windows Server 2019 Standard 64bit English Evaluation with Desktop Experience
88-
2019_x64_Standard_EN_Core_Eval x64 ISO Windows Server 2019 Standard 64bit English Evaluation
89-
2019_x64_Datacenter_EN_Eval x64 ISO Windows Server 2019 Datacenter 64bit English Evaluation with Desktop Experience
90-
2019_x64_Datacenter_EN_Core_Eval x64 ISO Windows Server 2019 Datacenter Evaluation in Core mode
91-
2016_x64_Standard_EN_Eval x64 ISO Windows Server 2016 Standard 64bit English Evaluation
92-
2016_x64_Standard_Core_EN_Eval x64 ISO Windows Server 2016 Standard Core 64bit English Evaluation
93-
2016_x64_Datacenter_EN_Eval x64 ISO Windows Server 2016 Datacenter 64bit English Evaluation
94-
2016_x64_Datacenter_Core_EN_Eval x64 ISO Windows Server 2016 Datacenter Core 64bit English Evaluation
95-
2016_x64_Standard_Nano_EN_Eval x64 ISO Windows Server 2016 Standard Nano 64bit English Evaluation
96-
2016_x64_Datacenter_Nano_EN_Eval x64 ISO Windows Server 2016 Datacenter Nano 64bit English Evaluation
97-
2012R2_x64_Standard_EN_Eval x64 ISO Windows Server 2012 R2 Standard 64bit English Evaluation
98-
2012R2_x64_Standard_EN_V5_Eval x64 ISO Windows Server 2012 R2 Standard 64bit English Evaluation with WMF 5
99-
2012R2_x64_Standard_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Standard 64bit English Evaluation with WMF 5.1
100-
2012R2_x64_Standard_Core_EN_Eval x64 ISO Windows Server 2012 R2 Standard Core 64bit English Evaluation
101-
2012R2_x64_Standard_Core_EN_V5_Eval x64 ISO Windows Server 2012 R2 Standard Core 64bit English Evaluation with WMF 5
102-
2012R2_x64_Standard_Core_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Standard Core 64bit English Evaluation with WMF 5.1
103-
2012R2_x64_Datacenter_EN_Eval x64 ISO Windows Server 2012 R2 Datacenter 64bit English Evaluation
104-
2012R2_x64_Datacenter_EN_V5_Eval x64 ISO Windows Server 2012 R2 Datacenter 64bit English Evaluation with WMF 5
105-
2012R2_x64_Datacenter_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Datacenter 64bit English Evaluation with WMF 5.1
106-
2012R2_x64_Datacenter_Core_EN_Eval x64 ISO Windows Server 2012 R2 Datacenter Core 64bit English Evaluation
107-
2012R2_x64_Datacenter_Core_EN_V5_Eval x64 ISO Windows Server 2012 R2 Datacenter Core 64bit English Evaluation with WMF 5
108-
2012R2_x64_Datacenter_Core_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Datacenter Core 64bit English Evaluation with WMF 5.1
109-
WIN81_x64_Enterprise_EN_Eval x64 ISO Windows 8.1 64bit Enterprise English Evaluation
110-
WIN81_x64_Enterprise_EN_V5_Eval x64 ISO Windows 8.1 64bit Enterprise English Evaluation with WMF 5
111-
WIN81_x64_Enterprise_EN_V5_1_Eval x64 ISO Windows 8.1 64bit Enterprise English Evaluation with WMF 5.1
112-
WIN81_x86_Enterprise_EN_Eval x86 ISO Windows 8.1 32bit Enterprise English Evaluation
113-
WIN81_x86_Enterprise_EN_V5_Eval x86 ISO Windows 8.1 32bit Enterprise English Evaluation with WMF 5
114-
WIN81_x86_Enterprise_EN_V5_1_Eval x86 ISO Windows 8.1 32bit Enterprise English Evaluation with WMF 5.1
115-
WIN10_x64_Enterprise_20H2_EN_Eval x64 ISO Windows 10 64bit Enterprise 2009 English Evaluation (20H2)
116-
WIN10_x86_Enterprise_20H2_EN_Eval x86 ISO Windows 10 32bit Enterprise 2009 English Evaluation
117-
WIN10_x64_Enterprise_LTSC_EN_Eval x64 ISO Windows 10 64bit Enterprise LTSC 2019 English Evaluation
118-
WIN10_x86_Enterprise_LTSC_EN_Eval x86 ISO Windows 10 32bit Enterprise LTSC 2019 English Evaluation
119-
#>
76+
Lability_SwitchName = 'LabNet'
77+
Lability_ProcessorCount = 1
78+
Lability_MinimumMemory = 1GB
79+
Lability_MaximumMemory = 16GB
80+
SecureBoot = $false
81+
Lability_RegisteredOwner = "Administrator"
82+
Lability_RegisteredOrganization = "Company.pri"
83+
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
84+
12085
},
12186

12287
<# Available Roles for computers
@@ -136,7 +101,7 @@ WIN10_x86_Enterprise_LTSC_EN_Eval x86 ISO Windows 10 32bit Enterprise L
136101
Lability_BootDelay = 60 # Number of seconds to delay before others
137102
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
138103
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
139-
Lability_MinimumMemory = 2GB
104+
Lability_StartupMemory = 2GB
140105
Lability_ProcessorCount = 2
141106
CustomBootStrap = @'
142107
# This must be set to handle larger .mof files
@@ -171,6 +136,7 @@ WIN10_x86_Enterprise_LTSC_EN_Eval x86 ISO Windows 10 32bit Enterprise L
171136
IPAddress = '192.168.3.60'
172137
Lability_BootOrder = 20
173138
Lability_Media = '2019_x64_Standard_EN_Core_Eval'
139+
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
174140
Lability_ProcessorCount = 1
175141
Lability_StartupMemory = 1GB
176142
},
@@ -182,7 +148,7 @@ WIN10_x86_Enterprise_LTSC_EN_Eval x86 ISO Windows 10 32bit Enterprise L
182148
Lability_ProcessorCount = 2
183149
Lability_StartupMemory = 4GB
184150
Lability_MinimumMemory = 4GB
185-
Lability_Media = 'WIN10_x64_Enterprise_20H2_EN_Eval'
151+
Lability_Media = 'WIN10_x64_Enterprise_21H2_EN_Eval'
186152
Lability_BootOrder = 20
187153
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
188154
Lability_Resource = @()

Configurations/Windows10/Instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This lab builds the following:
44

55
Computername : Win10Ent
6-
Description : Windows 10 64bit Enterprise 2009 English Evaluation (20H2)
6+
Description : Windows 10 64bit Enterprise 2109/21H2 English Evaluation
77
Role : {RSAT, RDP}
88
IPAddress : 192.168.3.101
99
MemoryGB : 2

Configurations/Windows10/VMConfigurationData.psd1

Lines changed: 2 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -41,49 +41,12 @@ demonstrations and would need to be modified for your environment.
4141
SecureBoot = $false
4242
Lability_Media = '2016_x64_Standard_Core_EN_Eval'
4343

44-
<#
45-
46-
Id Arch Media Description
47-
-- ---- ----- -----------
48-
2019_x64_Standard_EN_Eval x64 ISO Windows Server 2019 Standard 64bit English Evaluation with Desktop Experience
49-
2019_x64_Standard_EN_Core_Eval x64 ISO Windows Server 2019 Standard 64bit English Evaluation
50-
2019_x64_Datacenter_EN_Eval x64 ISO Windows Server 2019 Datacenter 64bit English Evaluation with Desktop Experience
51-
2019_x64_Datacenter_EN_Core_Eval x64 ISO Windows Server 2019 Datacenter Evaluation in Core mode
52-
2016_x64_Standard_EN_Eval x64 ISO Windows Server 2016 Standard 64bit English Evaluation
53-
2016_x64_Standard_Core_EN_Eval x64 ISO Windows Server 2016 Standard Core 64bit English Evaluation
54-
2016_x64_Datacenter_EN_Eval x64 ISO Windows Server 2016 Datacenter 64bit English Evaluation
55-
2016_x64_Datacenter_Core_EN_Eval x64 ISO Windows Server 2016 Datacenter Core 64bit English Evaluation
56-
2016_x64_Standard_Nano_EN_Eval x64 ISO Windows Server 2016 Standard Nano 64bit English Evaluation
57-
2016_x64_Datacenter_Nano_EN_Eval x64 ISO Windows Server 2016 Datacenter Nano 64bit English Evaluation
58-
2012R2_x64_Standard_EN_Eval x64 ISO Windows Server 2012 R2 Standard 64bit English Evaluation
59-
2012R2_x64_Standard_EN_V5_Eval x64 ISO Windows Server 2012 R2 Standard 64bit English Evaluation with WMF 5
60-
2012R2_x64_Standard_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Standard 64bit English Evaluation with WMF 5.1
61-
2012R2_x64_Standard_Core_EN_Eval x64 ISO Windows Server 2012 R2 Standard Core 64bit English Evaluation
62-
2012R2_x64_Standard_Core_EN_V5_Eval x64 ISO Windows Server 2012 R2 Standard Core 64bit English Evaluation with WMF 5
63-
2012R2_x64_Standard_Core_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Standard Core 64bit English Evaluation with WMF 5.1
64-
2012R2_x64_Datacenter_EN_Eval x64 ISO Windows Server 2012 R2 Datacenter 64bit English Evaluation
65-
2012R2_x64_Datacenter_EN_V5_Eval x64 ISO Windows Server 2012 R2 Datacenter 64bit English Evaluation with WMF 5
66-
2012R2_x64_Datacenter_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Datacenter 64bit English Evaluation with WMF 5.1
67-
2012R2_x64_Datacenter_Core_EN_Eval x64 ISO Windows Server 2012 R2 Datacenter Core 64bit English Evaluation
68-
2012R2_x64_Datacenter_Core_EN_V5_Eval x64 ISO Windows Server 2012 R2 Datacenter Core 64bit English Evaluation with WMF 5
69-
2012R2_x64_Datacenter_Core_EN_V5_1_Eval x64 ISO Windows Server 2012 R2 Datacenter Core 64bit English Evaluation with WMF 5.1
70-
WIN81_x64_Enterprise_EN_Eval x64 ISO Windows 8.1 64bit Enterprise English Evaluation
71-
WIN81_x64_Enterprise_EN_V5_Eval x64 ISO Windows 8.1 64bit Enterprise English Evaluation with WMF 5
72-
WIN81_x64_Enterprise_EN_V5_1_Eval x64 ISO Windows 8.1 64bit Enterprise English Evaluation with WMF 5.1
73-
WIN81_x86_Enterprise_EN_Eval x86 ISO Windows 8.1 32bit Enterprise English Evaluation
74-
WIN81_x86_Enterprise_EN_V5_Eval x86 ISO Windows 8.1 32bit Enterprise English Evaluation with WMF 5
75-
WIN81_x86_Enterprise_EN_V5_1_Eval x86 ISO Windows 8.1 32bit Enterprise English Evaluation with WMF 5.1
76-
WIN10_x64_Enterprise_20H2_EN_Eval x64 ISO Windows 10 64bit Enterprise 2009 English Evaluation
77-
WIN10_x86_Enterprise_20H2_EN_Eval x86 ISO Windows 10 32bit Enterprise 2009 English Evaluation
78-
WIN10_x64_Enterprise_LTSC_EN_Eval x64 ISO Windows 10 64bit Enterprise LTSC 2019 English Evaluation
79-
WIN10_x86_Enterprise_LTSC_EN_Eval x86 ISO Windows 10 32bit Enterprise LTSC 2019 English Evaluation
80-
#>
8144
}
8245

8346
<# Available Roles for computers
8447
DC = Domain Controller
8548
DHCP = Dynamic Host Configuration Protocol
86-
ADCS = Active Directory Certificate SErvices - plus autoenrollment GPO's and DSC and web server certs
49+
ADCS = Active Directory Certificate Services - plus autoenrollment GPO's and DSC and web server certs
8750
Web = Basic web server
8851
RSAT = Remote Server Administration Tools for the client
8952
RDP = enables RDP and opens up required firewall rules
@@ -96,7 +59,7 @@ demonstrations and would need to be modified for your environment.
9659
Role = @('RSAT', 'RDP')
9760
Lability_ProcessorCount = 2
9861
Lability_MinimumMemory = 2GB
99-
Lability_Media = 'WIN10_x64_Enterprise_20H2_EN_Eval'
62+
Lability_Media = 'WIN10_x64_Enterprise_21H2_EN_Eval'
10063
Lability_BootOrder = 20
10164
Lability_timeZone = 'Central Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
10265
Lability_Resource = @()

PSAutoLab.psd1

0 Bytes
Binary file not shown.

PSAutoLabManual.pdf

-50.4 KB
Binary file not shown.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Get-Module Pester -ListAvailable
4141
If the _only_ result you get is for version `3.4.0`, then you must run:
4242

4343
```powershell
44-
Install-Module pester -RequiredVersion 4.10.1 -Force -SkipPublisherCheck
44+
Install-Module Oester -RequiredVersion 4.10.1 -Force -SkipPublisherCheck
4545
```
4646

4747
Re-run the `Get-Module` to verify version `4.10.1` is installed. If you have newer versions installed, that will have no effect on this module. Once you have verified Pester version 4.10.1 you can install the PSAutoLab module.

changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log for PSAutoLab
22

3+
## 4.22.1
4+
5+
+ Updated `Windows10` and `PowerShellLab` configurations to use Windows 10 64bit Enterprise 2109/21H2 English Evaluation. They were missed in the previous update.
6+
+ Fixed memory settings in `PowerShellLab` configuration for Win10 virtual machine.
7+
+ Revised code formatting in the help PDF.
8+
39
## 4.22.0
410

511
+ Updated Lability to version `0.21.1`.

0 commit comments

Comments
 (0)