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

Commit 1ab15f5

Browse files
v4.5.0
1 parent 46060a4 commit 1ab15f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1536
-1112
lines changed

Configurations/Archive/Deprecated-POC-DC-Client-Servers-GUI/DC-Client-Servers-GUI.psd1

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -10,94 +10,94 @@ Goal - Create a Domain Controller, Populute with OU's Groups and Users.
1010
One Server joined to the new domain
1111
One Windows 10 CLient joined to the new domain
1212
13-
13+
1414
1515
Disclaimer
1616
1717
This example code is provided without copyright and AS IS. It is free for you to use and modify.
18-
Note: These demos should not be run as a script. These are the commands that I use in the
18+
Note: These demos should not be run as a script. These are the commands that I use in the
1919
demonstrations and would need to be modified for your environment.
2020
21-
#>
21+
#>
2222

2323
@{
24-
AllNodes = @(
24+
AllNodes = @(
2525
@{
26-
NodeName = '*'
27-
26+
NodeName = '*'
27+
2828
# Common networking
29-
InterfaceAlias = 'Ethernet'
30-
DefaultGateway = '192.168.3.1'
31-
SubnetMask = 24
32-
AddressFamily = 'IPv4'
33-
DnsServerAddress = '192.168.3.10'
34-
29+
InterfaceAlias = 'Ethernet'
30+
DefaultGateway = '192.168.3.1'
31+
SubnetMask = 24
32+
AddressFamily = 'IPv4'
33+
DnsServerAddress = '192.168.3.10'
34+
3535
# Domain and Domain Controller information
36-
DomainName = "Company.Pri"
37-
DomainDN = "DC=Company,DC=Pri"
38-
DCDatabasePath = "C:\NTDS"
39-
DCLogPath = "C:\NTDS"
40-
SysvolPath = "C:\Sysvol"
36+
DomainName = "Company.Pri"
37+
DomainDN = "DC=Company,DC=Pri"
38+
DCDatabasePath = "C:\NTDS"
39+
DCLogPath = "C:\NTDS"
40+
SysvolPath = "C:\Sysvol"
4141
PSDscAllowPlainTextPassword = $true
42-
PSDscAllowDomainUser = $true
43-
42+
PSDscAllowDomainUser = $true
43+
4444
# Lability default node settings
45-
Lability_SwitchName = 'LabNet'
46-
Lability_ProcessorCount = 1
47-
Lability_StartupMemory = 1GB
48-
SecureBoot = $false
49-
Lability_Media = '2016_x64_Standard_EN_Eval' # Can be Core,Win10,2012R2,nano
50-
# 2016_x64_Standard_EN_Eval
51-
# 2016_x64_Standard_Core_EN_Eval
52-
# 2016_x64_Datacenter_EN_Eval
53-
# 2016_x64_Datacenter_Core_EN_Eval
54-
# 2016_x64_Standard_Nano_EN_Eval
55-
# 2016_x64_Datacenter_Nano_EN_Eval
56-
# 2012R2_x64_Standard_EN_Eval
57-
# 2012R2_x64_Standard_EN_V5_Eval
58-
# 2012R2_x64_Standard_Core_EN_Eval
59-
# 2012R2_x64_Standard_Core_EN_V5_Eval
60-
# 2012R2_x64_Datacenter_EN_V5_Eval
61-
# WIN10_x64_Enterprise_EN_Eval
45+
Lability_SwitchName = 'LabNet'
46+
Lability_ProcessorCount = 1
47+
Lability_StartupMemory = 1GB
48+
SecureBoot = $false
49+
Lability_Media = '2016_x64_Standard_EN_Eval' # Can be Core,Win10,2012R2,nano
50+
# 2016_x64_Standard_EN_Eval
51+
# 2016_x64_Standard_Core_EN_Eval
52+
# 2016_x64_Datacenter_EN_Eval
53+
# 2016_x64_Datacenter_Core_EN_Eval
54+
# 2016_x64_Standard_Nano_EN_Eval
55+
# 2016_x64_Datacenter_Nano_EN_Eval
56+
# 2012R2_x64_Standard_EN_Eval
57+
# 2012R2_x64_Standard_EN_V5_Eval
58+
# 2012R2_x64_Standard_Core_EN_Eval
59+
# 2012R2_x64_Standard_Core_EN_V5_Eval
60+
# 2012R2_x64_Datacenter_EN_V5_Eval
61+
# WIN10_x64_Enterprise_EN_Eval
6262
}
6363
@{
64-
NodeName = 'DC'
65-
IPAddress = '192.168.3.10'
66-
Role = 'DC'
64+
NodeName = 'DC'
65+
IPAddress = '192.168.3.10'
66+
Role = 'DC'
6767
Lability_BootOrder = 10
6868
Lability_BootDelay = 60 # Number of seconds to delay before others
69-
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
69+
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
7070
}
7171
@{
72-
NodeName = 'S1'
73-
IPAddress = '192.168.3.50'
74-
Role = @('DomainJoin', 'Web')
72+
NodeName = 'S1'
73+
IPAddress = '192.168.3.50'
74+
Role = @('DomainJoin', 'Web')
7575
Lability_BootOrder = 20
76-
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
76+
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
7777
}
7878
@{
79-
NodeName = 'Client'
80-
IPAddress = '192.168.3.100'
81-
Role = 'DomainJoin'
79+
NodeName = 'Client'
80+
IPAddress = '192.168.3.100'
81+
Role = 'DomainJoin'
8282
Lability_ProcessorCount = 2
83-
Lability_StartupMemory = 2GB
84-
Lability_Media = 'WIN10_x64_Enterprise_EN_Eval'
85-
Lability_BootOrder = 20
86-
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
83+
Lability_StartupMemory = 2GB
84+
Lability_Media = 'WIN10_x64_Enterprise_EN_Eval'
85+
Lability_BootOrder = 20
86+
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
8787
}
8888

89-
89+
9090
);
9191
NonNodeData = @{
9292
Lability = @{
93-
# EnvironmentPrefix = 'PS-GUI-' # this will prefix the VM names
94-
Media = @(); # Custom media additions that are different than the supplied defaults (media.json)
95-
Network = @( # Virtual switch in Hyper-V
96-
@{ Name = 'LabNet'; Type = 'Internal'; NetAdapterName = 'Ethernet'; AllowManagementOS = $true;}
93+
# EnvironmentPrefix = 'PS-GUI-' # this will prefix the VM names
94+
Media = @(); # Custom media additions that are different than the supplied defaults (media.json)
95+
Network = @( # Virtual switch in Hyper-V
96+
@{ Name = 'LabNet'; Type = 'Internal'; NetAdapterName = 'Ethernet'; AllowManagementOS = $true; }
9797
);
9898
DSCResource = @(
9999
## Download published version from the PowerShell Gallery or Github
100-
@{ Name = 'xActiveDirectory'; RequiredVersion="2.13.0.0"; Provider = 'PSGallery'; },
100+
@{ Name = 'xActiveDirectory'; RequiredVersion = "2.13.0.0"; Provider = 'PSGallery'; },
101101
@{ Name = 'xComputerManagement'; RequiredVersion = '1.8.0.0'; Provider = 'PSGallery'; }
102102
@{ Name = 'xNetworking'; RequiredVersion = '2.12.0.0'; Provider = 'PSGallery'; }
103103

Configurations/Archive/Deprecated-POC-DCDHCP-Client-Servers-GUI/DCDHCP-Client-Servers-GUI.psd1

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -15,104 +15,104 @@ Goal - Create a Domain Controller, Populute with OU's Groups and Users.
1515
Disclaimer
1616
1717
This example code is provided without copyright and AS IS. It is free for you to use and modify.
18-
Note: These demos should not be run as a script. These are the commands that I use in the
18+
Note: These demos should not be run as a script. These are the commands that I use in the
1919
demonstrations and would need to be modified for your environment.
2020
21-
#>
21+
#>
2222

2323
@{
24-
AllNodes = @(
24+
AllNodes = @(
2525
@{
26-
NodeName = '*'
27-
26+
NodeName = '*'
27+
2828
# Common networking
29-
InterfaceAlias = 'Ethernet'
30-
DefaultGateway = '192.168.3.1'
31-
SubnetMask = 24
32-
AddressFamily = 'IPv4'
33-
DnsServerAddress = '192.168.3.10'
34-
29+
InterfaceAlias = 'Ethernet'
30+
DefaultGateway = '192.168.3.1'
31+
SubnetMask = 24
32+
AddressFamily = 'IPv4'
33+
DnsServerAddress = '192.168.3.10'
34+
3535
# Domain and Domain Controller information
36-
DomainName = "Company.Pri"
37-
DomainDN = "DC=Company,DC=Pri"
38-
DCDatabasePath = "C:\NTDS"
39-
DCLogPath = "C:\NTDS"
40-
SysvolPath = "C:\Sysvol"
36+
DomainName = "Company.Pri"
37+
DomainDN = "DC=Company,DC=Pri"
38+
DCDatabasePath = "C:\NTDS"
39+
DCLogPath = "C:\NTDS"
40+
SysvolPath = "C:\Sysvol"
4141
PSDscAllowPlainTextPassword = $true
42-
PSDscAllowDomainUser = $true
43-
42+
PSDscAllowDomainUser = $true
43+
4444
# DHCP Server Data
45-
DHCPName = 'LabNet'
46-
DHCPIPStartRange = '192.168.3.200'
47-
DHCPIPEndRange = '192.168.3.250'
48-
DHCPSubnetMask = '255.255.255.0'
49-
DHCPState = 'Active'
50-
DHCPAddressFamily = 'IPv4'
51-
DHCPLeaseDuration = '00:08:00'
52-
DHCPScopeID = '192.168.3.0'
53-
DHCPDnsServerIPAddress = '192.168.3.10'
54-
DHCPRouter = '192.168.3.1'
45+
DHCPName = 'LabNet'
46+
DHCPIPStartRange = '192.168.3.200'
47+
DHCPIPEndRange = '192.168.3.250'
48+
DHCPSubnetMask = '255.255.255.0'
49+
DHCPState = 'Active'
50+
DHCPAddressFamily = 'IPv4'
51+
DHCPLeaseDuration = '00:08:00'
52+
DHCPScopeID = '192.168.3.0'
53+
DHCPDnsServerIPAddress = '192.168.3.10'
54+
DHCPRouter = '192.168.3.1'
5555

5656
# Lability default node settings
57-
Lability_SwitchName = 'LabNet'
58-
Lability_ProcessorCount = 1
59-
Lability_StartupMemory = 1GB
60-
SecureBoot = $false
61-
Lability_Media = '2016_x64_Standard_EN_Eval' # Can be Core,Win10,2012R2,nano
62-
# 2016_x64_Standard_EN_Eval
63-
# 2016_x64_Standard_Core_EN_Eval
64-
# 2016_x64_Datacenter_EN_Eval
65-
# 2016_x64_Datacenter_Core_EN_Eval
66-
# 2016_x64_Standard_Nano_EN_Eval
67-
# 2016_x64_Datacenter_Nano_EN_Eval
68-
# 2012R2_x64_Standard_EN_Eval
69-
# 2012R2_x64_Standard_EN_V5_Eval
70-
# 2012R2_x64_Standard_Core_EN_Eval
71-
# 2012R2_x64_Standard_Core_EN_V5_Eval
72-
# 2012R2_x64_Datacenter_EN_V5_Eval
73-
# WIN10_x64_Enterprise_EN_Eval
57+
Lability_SwitchName = 'LabNet'
58+
Lability_ProcessorCount = 1
59+
Lability_StartupMemory = 1GB
60+
SecureBoot = $false
61+
Lability_Media = '2016_x64_Standard_EN_Eval' # Can be Core,Win10,2012R2,nano
62+
# 2016_x64_Standard_EN_Eval
63+
# 2016_x64_Standard_Core_EN_Eval
64+
# 2016_x64_Datacenter_EN_Eval
65+
# 2016_x64_Datacenter_Core_EN_Eval
66+
# 2016_x64_Standard_Nano_EN_Eval
67+
# 2016_x64_Datacenter_Nano_EN_Eval
68+
# 2012R2_x64_Standard_EN_Eval
69+
# 2012R2_x64_Standard_EN_V5_Eval
70+
# 2012R2_x64_Standard_Core_EN_Eval
71+
# 2012R2_x64_Standard_Core_EN_V5_Eval
72+
# 2012R2_x64_Datacenter_EN_V5_Eval
73+
# WIN10_x64_Enterprise_EN_Eval
7474
}
7575
@{
76-
NodeName = 'DC'
77-
IPAddress = '192.168.3.10'
78-
Role = @('DC', 'DHCP')
76+
NodeName = 'DC'
77+
IPAddress = '192.168.3.10'
78+
Role = @('DC', 'DHCP')
7979
Lability_BootOrder = 10
8080
Lability_BootDelay = 60 # Number of seconds to delay before others
81-
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
81+
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
8282
}
8383
@{
84-
NodeName = 'S1'
85-
IPAddress = '192.168.3.50'
86-
Role = @('DomainJoin', 'Web')
84+
NodeName = 'S1'
85+
IPAddress = '192.168.3.50'
86+
Role = @('DomainJoin', 'Web')
8787
Lability_BootOrder = 20
88-
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
88+
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
8989
}
9090
@{
91-
NodeName = 'Client'
92-
IPAddress = '192.168.3.100'
93-
Role = 'DomainJoin'
91+
NodeName = 'Client'
92+
IPAddress = '192.168.3.100'
93+
Role = 'DomainJoin'
9494
Lability_ProcessorCount = 2
95-
Lability_StartupMemory = 2GB
96-
Lability_Media = 'WIN10_x64_Enterprise_EN_Eval'
97-
Lability_BootOrder = 20
98-
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
95+
Lability_StartupMemory = 2GB
96+
Lability_Media = 'WIN10_x64_Enterprise_EN_Eval'
97+
Lability_BootOrder = 20
98+
Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones()
9999
}
100100

101-
101+
102102
);
103103
NonNodeData = @{
104104
Lability = @{
105-
# EnvironmentPrefix = 'PS-GUI-' # this will prefix the VM names
106-
Media = @(); # Custom media additions that are different than the supplied defaults (media.json)
107-
Network = @( # Virtual switch in Hyper-V
108-
@{ Name = 'LabNet'; Type = 'Internal'; NetAdapterName = 'Ethernet'; AllowManagementOS = $true;}
105+
# EnvironmentPrefix = 'PS-GUI-' # this will prefix the VM names
106+
Media = @(); # Custom media additions that are different than the supplied defaults (media.json)
107+
Network = @( # Virtual switch in Hyper-V
108+
@{ Name = 'LabNet'; Type = 'Internal'; NetAdapterName = 'Ethernet'; AllowManagementOS = $true; }
109109
);
110110
DSCResource = @(
111111
## Download published version from the PowerShell Gallery or Github
112-
@{ Name = 'xActiveDirectory'; RequiredVersion="2.13.0.0"; Provider = 'PSGallery'; },
112+
@{ Name = 'xActiveDirectory'; RequiredVersion = "2.13.0.0"; Provider = 'PSGallery'; },
113113
@{ Name = 'xComputerManagement'; RequiredVersion = '1.8.0.0'; Provider = 'PSGallery'; }
114114
@{ Name = 'xNetworking'; RequiredVersion = '2.12.0.0'; Provider = 'PSGallery'; }
115-
@{ Name = 'xDhcpServer'; RequiredVersion = '1.5.0.0'; Provider = 'PSGallery'; }
115+
@{ Name = 'xDhcpServer'; RequiredVersion = '1.5.0.0'; Provider = 'PSGallery'; }
116116

117117
);
118118
};

0 commit comments

Comments
 (0)