MOF/CHDC01.mof
/*
@TargetNode='CHDC01' @GeneratedBy=cody @GenerationDate=10/22/2018 01:56:58 @GenerationHost=THINKY */ instance of MSFT_TimeZone as $MSFT_TimeZone1ref { ResourceID = "[TimeZone]TimeZone"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::49::9::TimeZone"; TimeZone = "W. Australia Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "5.2.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog1ref { ResourceID = "[xWinEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Operational"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::5::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog2ref { ResourceID = "[xWinEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Analytic"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::10::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog3ref { ResourceID = "[xWinEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Debug"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::16::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource1ref { ResourceID = "[Registry]DisableNegativeCacheTtl::[ooRegistry]SetRegistry"; ValueName = "MaxNegativeCacheTtl"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dnscache\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::3::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource2ref { ResourceID = "[Registry]DisableMachineAccountPasswordChange::[ooRegistry]SetRegistry"; ValueName = "DisablePasswordChange"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Netlogon\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::12::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of xRemoteDesktopAdmin as $xRemoteDesktopAdmin1ref { ResourceID = "[xRemoteDesktopAdmin]EnableRemoteDesktopService::[ooRemoteDesktop]EnableRemoteDesktop"; UserAuthentication = "NonSecure"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::3::5::xRemoteDesktopAdmin"; ModuleName = "xRemoteDesktopAdmin"; ModuleVersion = "1.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall1ref { ResourceID = "[Firewall]EnableFPSICMP4ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::9::Firewall"; Name = "FPS-ICMP4-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall2ref { ResourceID = "[Firewall]EnableFPSICMP6ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::9::Firewall"; Name = "FPS-ICMP6-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall3ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInTCP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::9::Firewall"; Name = "RemoteDesktop-UserMode-In-TCP"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall4ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInUDP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::9::Firewall"; Name = "RemoteDesktop-UserMode-In-UDP"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_ScriptResource as $MSFT_ScriptResource1ref { ResourceID = "[Script]EnableFileAndPrinterSharing::[ooRemoteDesktop]EnableRemoteDesktop"; GetScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n @{ Result = \"false\"; }\n } else {\n @{ Result = \"true\"; }\n }\n "; TestScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n $false\n } else {\n $true\n }\n "; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::19::5::Script"; SetScript = "\n Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' } | Set-NetFirewallRule -Enabled True\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref { ResourceID = "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory"; Type = "Directory"; Ensure = "Present"; DestinationPath = "C:\\Temp"; ModuleName = "PSDesiredStateConfiguration"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::3::5::File"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xFileSystemAccessRule as $MSFT_xFileSystemAccessRule1ref { ResourceID = "[xFileSystemAccessRule]GrantAccessToTempDirectory::[ooTemp]CreateTempDirectory"; Path = "C:\\Temp"; Rights = { "FullControl" }; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::9::5::xFileSystemAccessRule"; Identity = "EVERYONE"; ModuleName = "xSystemSecurity"; ModuleVersion = "1.4.0.0"; DependsOn = { "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName1ref { ResourceID = "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetworks"; MacAddress = "00-03-84-1c-51-5c"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "CHICAGO"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress1ref { ResourceID = "[IPAddress]SetIPAddressCHICAGO::[ooNetwork]RenameNetworks"; InterfaceAlias = "CHICAGO"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::17::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.0.1/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress1ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressCHICAGO::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::40::17::DnsServerAddress"; Address = { "127.0.0.1" }; ModuleName = "NetworkingDsc"; InterfaceAlias = "CHICAGO"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix1ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixCHICAGO::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "CHICAGO"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName2ref { ResourceID = "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"; MacAddress = "00-03-c1-e2-34-0b"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "SEATTLE"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress2ref { ResourceID = "[IPAddress]SetIPAddressSEATTLE::[ooNetwork]RenameNetworks"; InterfaceAlias = "SEATTLE"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::17::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.1.1/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress2ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::40::17::DnsServerAddress"; Address = { "127.0.0.1" }; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix2ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName3ref { ResourceID = "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"; MacAddress = "00-03-3b-47-b3-50"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "DALLAS"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress3ref { ResourceID = "[IPAddress]SetIPAddressDALLAS::[ooNetwork]RenameNetworks"; InterfaceAlias = "DALLAS"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::17::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.2.1/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress3ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressDALLAS::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::40::17::DnsServerAddress"; Address = { "127.0.0.1" }; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix3ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName4ref { ResourceID = "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetworks"; MacAddress = "00-03-44-b8-ee-29"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "SEATTLE_HB"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress4ref { ResourceID = "[IPAddress]SetIPAddressSEATTLE_HB::[ooNetwork]RenameNetworks"; InterfaceAlias = "SEATTLE_HB"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::17::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.11.1/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress4ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE_HB::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::47::17::DnsServerAddress"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix4ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE_HB::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName5ref { ResourceID = "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetworks"; MacAddress = "00-03-c5-05-0c-65"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "DALLAS_HB"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress5ref { ResourceID = "[IPAddress]SetIPAddressDALLAS_HB::[ooNetwork]RenameNetworks"; InterfaceAlias = "DALLAS_HB"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::17::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.12.1/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress5ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressDALLAS_HB::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::47::17::DnsServerAddress"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix5ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS_HB::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName6ref { ResourceID = "[NetAdapterName]RenameWAN::[ooNetwork]RenameNetworks"; MacAddress = "00-03-15-53-9d-96"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "WAN"; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress6ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressWAN::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::40::17::DnsServerAddress"; Address = { "127.0.0.1" }; ModuleName = "NetworkingDsc"; InterfaceAlias = "WAN"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameWAN::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix6ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixWAN::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "WAN"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameWAN::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource1ref { ResourceID = "[WindowsFeature]Resource0::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::2::1::WindowsFeature"; Name = "RSAT-AD-Tools"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource2ref { ResourceID = "[WindowsFeature]Resource1::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::8::1::WindowsFeature"; Name = "RSAT-AD-PowerShell"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource3ref { ResourceID = "[WindowsFeature]Resource2::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::14::1::WindowsFeature"; Name = "RSAT-Clustering"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource4ref { ResourceID = "[WindowsFeature]Resource3::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::20::1::WindowsFeature"; Name = "RSAT-Clustering-CmdInterface"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource5ref { ResourceID = "[WindowsFeature]Resource4::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::26::1::WindowsFeature"; Name = "RSAT-DNS-Server"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource6ref { ResourceID = "[WindowsFeature]Resource5::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::32::1::WindowsFeature"; Name = "RSAT-RemoteAccess"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource7ref { ResourceID = "[WindowsFeature]Resource6::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::38::1::WindowsFeature"; Name = "AD-Domain-Services"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource8ref { ResourceID = "[WindowsFeature]Resource7::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::44::1::WindowsFeature"; Name = "DNS"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource9ref { ResourceID = "[WindowsFeature]Resource8::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::50::1::WindowsFeature"; Name = "Routing"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_ScriptResource as $MSFT_ScriptResource2ref { ResourceID = "[Script]EnableRouting::[ooRouter]EnableRouter"; GetScript = "\n if (Get-NetIPInterface | Where-Object { $_.Forwarding -ne 'Enabled' }) {\n @{ Result = \"false\"; }\n } else {\n @{ Result = \"true\"; }\n }\n "; TestScript = "\n if (Get-NetIPInterface | Where-Object { $_.Forwarding -ne 'Enabled' }) {\n $false\n } else {\n $true\n }\n "; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooRouter\\ooRouter.schema.psm1::2::5::Script"; SetScript = "\n Get-NetIPInterface | Where-Object { $_.Forwarding -ne 'Enabled' } | Set-NetIPInterface -Forwarding Enabled\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Computer as $MSFT_Computer1ref { SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::107::17::Computer"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "5.2.0.0"; ResourceID = "[Computer]Rename"; Name = "CHDC01"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential1ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBACc7lYyQQBVdLtmmtfqRdEdZKNltxTtjnv2BnK4IZRyJISeN/e/nBE5VrlZy\niwUcxMgPeGPTJOtOdJEI5YJEZngejzIgL4nd0G29dmQlVL6ZwDQPVZsH8VzOhXXrQHC/RDarGxNs\nVxNnHG9kR+A0W7izVWILMKsXFL2PbvncN+ByhpdrPm8f00x9fRUzk0bec300E/V7DMSv4BqqSrZ4\njwC40oj+a5kbw7YHRhNcVlF1g2t3ezocQnRIOQx2yN0Eb1UbA955XU2MuABY/7FpEmikiapJUxEP\n8tJXC2oas69vebLDeiTtqlYg/FB032x0fHs6Q1BEZWO5k+Njqex/o9owPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQW17icZq4jWvqNzzk2tvEuYAQFQWBTUE4nmVJWtYpLWqq5g==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_Credential as $MSFT_Credential2ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAGMOJTF6eQLND6Z5fszqF+sdaCOQ54kLQOYvXCV6wL49t3AIzlLvFyStu2ai\nJqkTZ9Y2HpIJs365V9UvzURriN4UmNBCABnRo8Ay38+6IK6S+rLQsMe1A43glq3tIAtN6BaoszyX\n+JxIvHe7uDXjssud8lgmtSrt3DYBg2KPY4kqNsUuns9E30XYf77ist/LTKm7FkhlqwtWCef6z9Ms\nTPvkUksPBj4NybavtxcqXl7gD9uwPc/HyEQiRgHrJuZg54idj+yU2NTSvx1YXd5d+JffD3M1ME0m\nbtIrB1GkoSwAcD/tYBW0oSbzDxA7VE4WpjEfjc+YAf9FnMliNA6ffKMwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQBPZNfh23LOdug+f3Vzpc54AQBh3ncUogHJg3mcUABrJliw==\n-----END CMS-----"; UserName = "Administrator"; }; instance of MSFT_xADDomain as $MSFT_xADDomain1ref { ResourceID = "[xADDomain]Create"; DomainAdministratorCredential = $MSFT_Credential1ref; SafemodeAdministratorPassword = $MSFT_Credential2ref; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::113::17::xADDomain"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; ModuleVersion = "2.21.0.0"; DependsOn = { "[WindowsFeature]Resource0::[WindowsFeatureSet]All", "[WindowsFeature]Resource1::[WindowsFeatureSet]All", "[WindowsFeature]Resource2::[WindowsFeatureSet]All", "[WindowsFeature]Resource3::[WindowsFeatureSet]All", "[WindowsFeature]Resource4::[WindowsFeatureSet]All", "[WindowsFeature]Resource5::[WindowsFeatureSet]All", "[WindowsFeature]Resource6::[WindowsFeatureSet]All", "[WindowsFeature]Resource7::[WindowsFeatureSet]All", "[WindowsFeature]Resource8::[WindowsFeatureSet]All"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential3ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAHMsC3FQ/WF2zdUFX1iicN0OdfAJ8dKURksh7ho7QxpnZXImM/3Kfdj6Dw4J\njo1m8lh1eIXmJ+Jb2XD8vsJHXHHpt0XO5fmmcJ8/S+Yi7Beo88QH33l7UsXm/lsXg2oS2cAeSG1a\nXq31m0tlb/b++uPApvR396EgFfSHs8V/J0KpuKr6YTwIU6hFYJnXW/s1z50JyT745547CrtpRc45\nesFmlIk2FnkN53meFtUwwp6fKMwFzpxfvwfmSOhPpgHHpHD5AWF/d/yqzjlivtqZ5sDglJtYVzQa\n7qQbX8dZPGERNhQ6tmrXZi6usUR2kelTu8M3MKS7nuhnMCKkALy8tKYwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQx/jierqVMc7Vhb6KpsutPYAQiUZlbWswWIKAbhEROzTx/w==\n-----END CMS-----"; UserName = "LAB\\SQLEngineService"; }; instance of MSFT_xADUser as $MSFT_xADUser1ref { ResourceID = "[xADUser]CreateUserSQLEngineService"; Description = "SQL Engine Service"; UserName = "SQLEngineService"; Ensure = "Present"; Password = $MSFT_Credential3ref; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::123::17::xADUser"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; ModuleVersion = "2.21.0.0"; DependsOn = { "[xADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential4ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAAcqDiMMpbUyF8uuAmDCDUKzP/5fMOLE7aFSgU8uZZLzLeZVguo0a0w0osd6\nx2F7nhJ/m209c5mDBx1zZpHMjUKA1CT9KJzNlGxFMPi56scpw8/kRx0J/i03KL97Yk0EqyeaCtWu\ns39kEOrH2iyyjfkCKERwEmvcitGcyHD81v7t4LqYBmufKT0II5oC5YEZwHiYhB+LNJ0sZUP0uFov\n0rWqQze0GUYOAF10ZMqmIQBMgGqmKLXjbUXi4YkC3WtpFO81yQCPjmgeArn4LCuiTHqNw6uJ/9i1\nX+pQ5fZoY1vvo4k6yCrjmfJUXELvJtuozVPDLzKOmSjhJBph3QiSdw0wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQHnfQiOCkYhrLQlYtkJsn1YAQsVDher+pwkDsQ6Es9Xmyjg==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_xADUser as $MSFT_xADUser2ref { ResourceID = "[xADUser]CreateLocalAdministrator"; Description = "Local Administrator"; UserName = "LocalAdministrator"; Ensure = "Present"; Password = $MSFT_Credential4ref; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::133::17::xADUser"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; ModuleVersion = "2.21.0.0"; DependsOn = { "[xADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_GroupResource as $MSFT_GroupResource1ref { ResourceID = "[Group]AddLocalAdministratorToAdministratorsGroup"; MembersToInclude = { "LAB\\LocalAdministrator" }; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::142::17::Group"; GroupName = "Administrators"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.0"; DependsOn = { "[xADUser]CreateLocalAdministrator"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xSmbShare as $MSFT_xSmbShare1ref { ResourceID = "[xSmbShare]CreateResources"; Path = "C:\\Resources"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::151::17::xSmbShare"; Name = "Resources"; ModuleName = "xSmbShare"; ReadAccess = { "Everyone" }; ModuleVersion = "2.1.0.0"; DependsOn = { "[xADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xSmbShare as $MSFT_xSmbShare2ref { ResourceID = "[xSmbShare]CreateTemp"; Path = "C:\\Temp"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::161::17::xSmbShare"; Name = "Temp"; FullAccess = { "Everyone" }; ModuleName = "xSmbShare"; ModuleVersion = "2.1.0.0"; DependsOn = { "[xADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of OMI_ConfigurationDocument { Version="2.0.0"; MinimumCompatibleVersion = "1.0.0"; CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"}; Author="cody"; GenerationDate="10/22/2018 01:56:58"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |