Configurations/Archive/Deprecated-POC-DC-Client-Servers-CORE/DC-Client-Servers-Core.psd1
<# Notes:
Authors: Jason Helmick and Melissa (Missy) Janusko The bulk of this DC, DHCP, ADCS config is authored by Melissa (Missy) Januszko. Currently on her public DSC hub located here: https://github.com/majst32/DSC_public.git Goal - Create a Domain Controller, Populute with OU's Groups and Users. One Server joined to the new domain One Windows 10 CLient joined to the new domain Disclaimer This example code is provided without copyright and AS IS. It is free for you to use and modify. Note: These demos should not be run as a script. These are the commands that I use in the demonstrations and would need to be modified for your environment. #> @{ AllNodes = @( @{ NodeName = '*' # Common networking InterfaceAlias = 'Ethernet' DefaultGateway = '192.168.3.1' SubnetMask = 24 AddressFamily = 'IPv4' DnsServerAddress = '192.168.3.10' # Domain and Domain Controller information DomainName = "Company.Pri" DomainDN = "DC=Company,DC=Pri" DCDatabasePath = "C:\NTDS" DCLogPath = "C:\NTDS" SysvolPath = "C:\Sysvol" PSDscAllowPlainTextPassword = $true PSDscAllowDomainUser = $true # Lability default node settings Lability_SwitchName = 'LabNet' Lability_ProcessorCount = 1 Lability_StartupMemory = 1GB SecureBoot = $false Lability_Media = '2016_x64_Standard_Core_EN_Eval' # Can be Core,Win10,2012R2,nano # 2016_x64_Standard_EN_Eval # 2016_x64_Standard_Core_EN_Eval # 2016_x64_Datacenter_EN_Eval # 2016_x64_Datacenter_Core_EN_Eval # 2016_x64_Standard_Nano_EN_Eval # 2016_x64_Datacenter_Nano_EN_Eval # 2012R2_x64_Standard_EN_Eval # 2012R2_x64_Standard_EN_V5_Eval # 2012R2_x64_Standard_Core_EN_Eval # 2012R2_x64_Standard_Core_EN_V5_Eval # 2012R2_x64_Datacenter_EN_V5_Eval # WIN10_x64_Enterprise_EN_Eval } @{ NodeName = 'DC' IPAddress = '192.168.3.10' Role = 'DC' Lability_BootOrder = 10 Lability_BootDelay = 60 # Number of seconds to delay before others Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones() } @{ NodeName = 'S1' IPAddress = '192.168.3.50' Role = @('DomainJoin', 'Web') Lability_BootOrder = 20 Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones() } @{ NodeName = 'Client' IPAddress = '192.168.3.100' Role = 'DomainJoin' Lability_ProcessorCount = 2 Lability_StartupMemory = 2GB Lability_Media = 'WIN10_x64_Enterprise_EN_Eval' Lability_BootOrder = 20 Lability_timeZone = 'US Mountain Standard Time' #[System.TimeZoneInfo]::GetSystemTimeZones() } ); NonNodeData = @{ Lability = @{ # EnvironmentPrefix = 'PS-GUI-' # this will prefix the VM names Media = @(); # Custom media additions that are different than the supplied defaults (media.json) Network = @( # Virtual switch in Hyper-V @{ Name = 'LabNet'; Type = 'Internal'; NetAdapterName = 'Ethernet'; AllowManagementOS = $true;} ); DSCResource = @( ## Download published version from the PowerShell Gallery or Github @{ Name = 'xActiveDirectory'; RequiredVersion="2.13.0.0"; Provider = 'PSGallery'; }, @{ Name = 'xComputerManagement'; RequiredVersion = '1.8.0.0'; Provider = 'PSGallery'; } @{ Name = 'xNetworking'; RequiredVersion = '2.12.0.0'; Provider = 'PSGallery'; } ); }; }; }; |