MOF/CHWK01.mof
/*
@TargetNode='CHWK01' @GeneratedBy=cody @GenerationDate=04/03/2019 20:33:10 @GenerationHost=THINKY */ instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog1ref { ResourceID = "[WindowsEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Operational"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::7::5::WindowsEventLog"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.2.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog2ref { ResourceID = "[WindowsEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Analytic"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::12::5::WindowsEventLog"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog3ref { ResourceID = "[WindowsEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Debug"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::18::5::WindowsEventLog"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_TimeZone as $MSFT_TimeZone1ref { ResourceID = "[TimeZone]SetTimeZone"; SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::54::9::TimeZone"; TimeZone = "W. Australia Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.2.0.0"; DependsOn = { "[WindowsEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog", "[WindowsEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog", "[WindowsEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"}; 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\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::3::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; 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\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::12::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource3ref { ResourceID = "[Registry]DisableInternetExplorerEnhancedSecurityConfigurationAdmin::[ooRegistry]SetRegistry"; ValueName = "IsInstalled"; Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::21::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource4ref { ResourceID = "[Registry]DisableInternetExplorerEnhancedSecurityConfigurationUser::[ooRegistry]SetRegistry"; ValueName = "IsInstalled"; Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::29::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource5ref { ResourceID = "[Registry]DisableInternetExplorerFirstRun::[ooRegistry]SetRegistry"; ValueName = "DisableFirstRunCustomize"; Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Internet Explorer\\Main"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::37::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of xRemoteDesktopAdmin as $xRemoteDesktopAdmin1ref { ResourceID = "[xRemoteDesktopAdmin]EnableRemoteDesktopService::[ooRemoteDesktop]EnableRemoteDesktop"; UserAuthentication = "NonSecure"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::6::5::xRemoteDesktopAdmin"; ModuleName = "xRemoteDesktopAdmin"; ModuleVersion = "1.1.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall1ref { ResourceID = "[Firewall]EnableFPSICMP4ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP4-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.0.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall2ref { ResourceID = "[Firewall]EnableFPSICMP6ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP6-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.0.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall3ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInTCP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-TCP"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.0.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall4ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInUDP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-UDP"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.0.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; 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\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::22::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.1"; DependsOn = { "[TimeZone]SetTimeZone"}; 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\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::5::5::File"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xFileSystemAccessRule as $MSFT_xFileSystemAccessRule1ref { ResourceID = "[xFileSystemAccessRule]GrantAccessToTempDirectory::[ooTemp]CreateTempDirectory"; Path = "C:\\Temp"; Rights = { "FullControl" }; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::11::5::xFileSystemAccessRule"; Identity = "EVERYONE"; ModuleName = "xSystemSecurity"; ModuleVersion = "1.4.0.0"; DependsOn = { "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName1ref { ResourceID = "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetwork"; MacAddress = "00-03-46-30-74-06"; ModuleVersion = "7.0.0.0"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "CHICAGO"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress1ref { ResourceID = "[IPAddress]SetIPAddressCHICAGO::[ooNetwork]RenameNetwork"; InterfaceAlias = "CHICAGO"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.0.3/24" }; ModuleVersion = "7.0.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DefaultGatewayAddress as $MSFT_DefaultGatewayAddress1ref { ResourceID = "[DefaultGatewayAddress]SetDefaultGatewayAddressCHICAGO::[ooNetwork]RenameNetwork"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::27::17::DefaultGatewayAddress"; Address = "10.0.0.1"; ModuleName = "NetworkingDsc"; InterfaceAlias = "CHICAGO"; ModuleVersion = "7.0.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress1ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressCHICAGO::[ooNetwork]RenameNetwork"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::41::17::DnsServerAddress"; Address = { "10.0.0.1" }; ModuleName = "NetworkingDsc"; InterfaceAlias = "CHICAGO"; ModuleVersion = "7.0.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix1ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixCHICAGO::[ooNetwork]RenameNetwork"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "CHICAGO"; ModuleVersion = "7.0.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; 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.1"; DependsOn = { "[TimeZone]SetTimeZone"}; 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.1"; DependsOn = { "[TimeZone]SetTimeZone"}; 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.1"; DependsOn = { "[TimeZone]SetTimeZone"}; 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.1"; DependsOn = { "[TimeZone]SetTimeZone"}; 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.1"; DependsOn = { "[TimeZone]SetTimeZone"}; 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.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential1ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAFdQx/YUL1yYOC6s2pYolEkeFkiLR3Q2Ka0Otc6lMh71Jba+gn5JPpbK9K0D\n4yENIVavgTSJyIkJy16sw+LG8lG2BXhhi2vHD2rwga8oKKDxvfFxUEblANy/Gjhb8RIPiknFg7AM\nz/R3HTYmYczLADycWwr0C/6k9AzArU6N8jj5SS26EZJ3CI6+Hed+Wi6zab7vcZlefsgY+HoZcAmc\n38HEGnOwgGOhItXx8srUu9TTw5iQfFOlbOqLWdWKR0gSaxLbuq0vuw5ThIGGwodI0zoRS7/6995i\nLL7W8mO6sAbH+tlSGNCMhTc7z3wx+44smz7K+AXu63R1qhH13xE32lowPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQpmOi+0B4rzPDs4BnIcHWQ4AQOf4s4E5R22w9JtqSHURyXQ==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xWaitForADDomain as $MSFT_xWaitForADDomain1ref { ResourceID = "[xWaitForADDomain]Create"; DomainUserCredential = $MSFT_Credential1ref; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::232::17::xWaitForADDomain"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; RetryIntervalSec = 15; ModuleVersion = "2.24.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetwork", "[IPAddress]SetIPAddressCHICAGO::[ooNetwork]RenameNetwork", "[DefaultGatewayAddress]SetDefaultGatewayAddressCHICAGO::[ooNetwork]RenameNetwork", "[DnsServerAddress]SetDnsServerAddressCHICAGO::[ooNetwork]RenameNetwork", "[DnsConnectionSuffix]SetDnsConnectionSuffixCHICAGO::[ooNetwork]RenameNetwork"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential2ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAAIq94X3iNcgsd8K4cc+S+HPnQgWcRX0WY9DIP3+dgvidXINeFlWQAwkUni1\nyT3dHnGAvKE0puFKesF8Qnhdsyq/cu7UoPRtiye3SOy4GiGmrTwtD1ktRpSFMLwgZNH7ouj56Ws0\nbxx2L3i6QejW04jNdHeauUR50cV+YYGTMi9SUa5GjYh70KWnpey3m02cGrr738ZsyuhXzgQtgRTt\noRlt22Lmx7JErZZBbLLxbjoJ10fJF6ggQ1HAIMT2yuKaiJureZzVqMCez7mng15wZXuyVxvMW9Y5\ngg3GTzhTNU5Dml59E5VnlvmXLhOFc4ElLCR9VlvhxTRYiDBaQJyl+EIwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQPge/peCDBEkkIsrff9OIo4AQss2cZIDx/wd7wv3B4CZxew==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_Computer as $MSFT_Computer1ref { ResourceID = "[Computer]Rename"; Credential = $MSFT_Credential2ref; DomainName = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::244::17::Computer"; Name = "CHWK01"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.2.0.0"; DependsOn = { "[xWaitForADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential3ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAMWrfpqDlvyIMrtFre1KFy/++4wnDDi1J1+36wQXHGB/yovJWin3E75ZofPK\nT3wYX1/SGrxP8BeuFRm2wZ+8xJoeHDgQd/9O0HlqGYONVfCqhQ3Id9N26HhGvUPmhz4F89NHy+A5\nhrFzCZ9Xl8ego6DSzyZdo41ThqgBqaGo1jFeDvuVw00OYCFUINIhosE05hSO3MRcPcBHcSm/xaPa\nKYP1FnOM7uGNVA1a/z96oGn/Z6N6o84wYhLakhdfHSlmIccf5CkR4IiSVZSnPglb8UoPzsHeow9b\noGY5MDEI0M2tvju/HKt3mRj4ZVpBgIgpHLiGPEXWxKtIMdJFcS8wsOswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQRlPk4+D8dLk8P6/TKbaFeIAQsh3JKs6CpOnCYt0TwgSOQg==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll1ref { ResourceID = "[WaitForAll]CreateLocalAdministrator"; PsDscRunAsCredential = $MSFT_Credential3ref; NodeName = { "CHDC01" }; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::253::17::WaitForAll"; ResourceName = "[xADUser]CreateLocalAdministrator"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "1.1"; DependsOn = { "[Computer]Rename"}; ConfigurationName = "OftenOn"; }; instance of MSFT_GroupResource as $MSFT_GroupResource1ref { ResourceID = "[Group]AddLocalAdministratorToAdministratorsGroup"; MembersToInclude = { "LAB\\LocalAdministrator" }; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::267::17::Group"; GroupName = "Administrators"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[WaitForAll]CreateLocalAdministrator"}; ConfigurationName = "OftenOn"; }; instance of MSFT_ScriptResource as $MSFT_ScriptResource2ref { ResourceID = "[Script]NetFx472::[ooNetFramework]Install472"; GetScript = "\n Set-StrictMode -Version Latest; $ErrorActionPreference = \"Stop\";\n\n $release = Get-ItemProperty 'HKLM:\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full' 'Release' -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Release\n @{ Result = \"$release\"; }\n "; TestScript = "\n Set-StrictMode -Version Latest; $ErrorActionPreference = \"Stop\";\n\n $release = Get-ItemProperty 'HKLM:\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full' 'Release' -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Release\n if ($release -and $release -ge 461814) {\n $true\n } else {\n $false\n }\n "; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetFramework\\ooNetFramework.schema.psm1::8::5::Script"; SetScript = "$ResourceLocation ='\\\\CHDC01\\Resources\\NDP472-KB4054530-x86-x64-AllOS-ENU.exe'\n\n Set-StrictMode -Version Latest; $ErrorActionPreference = \"Stop\";\n\n # If you don't use -NoNewWindow it will hang with an Open File - Security Warning\n $result = Start-Process -FilePath $ResourceLocation -ArgumentList '/quiet' -PassThru -Wait -NoNewWindow\n if ($result.ExitCode -in @(1641, 3010)) {\n $global:DSCMachineStatus = 1\n } elseif ($result.ExitCode -ne 0) {\n Write-Error \"Installation failed with exit code $($result.ExitCode)\"\n } else {\n Write-Verbose \"Installation succeeded\"\n }\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; ConfigurationName = "OftenOn"; }; instance of MSFT_xPackageResource as $MSFT_xPackageResource1ref { ResourceID = "[xPackage]SSMS1791::[ooManagementStudio]Install1791"; Path = "\\\\CHDC01\\Resources\\SSMS-Setup-ENU.exe"; ProductId = "91a1b895-c621-4038-b34a-01e7affbcb6b"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooManagementStudio\\ooManagementStudio.schema.psm1::15::5::xPackage"; Name = "SSMS1791"; ModuleName = "xPSDesiredStateConfiguration"; Arguments = "/install /quiet"; ModuleVersion = "8.5.0.0"; DependsOn = { "[Script]NetFx472::[ooNetFramework]Install472"}; ConfigurationName = "OftenOn"; }; instance of OMI_ConfigurationDocument { Version="2.0.0"; MinimumCompatibleVersion = "2.0.0"; CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"}; Author="cody"; GenerationDate="04/03/2019 20:33:10"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |