MOF/CHWK01.mof
/*
@TargetNode='CHWK01' @GeneratedBy=cody @GenerationDate=04/04/2019 12:32:35 @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.3.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.3.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.3.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.3.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.1.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.1.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.1.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.1.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-59-72-01-21"; ModuleVersion = "7.1.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.1.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.1.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.1.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.1.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\nSIb3DQEBBzAABIIBABsMb07Dm8XL5TLVJggdaB9Uls5boc5ljgwX+SC/QnH4zCzMxFEYQ5ZKRMHH\nB2zpUvzEjPMzLf0Rsa3pNefMKFXt9Xey+l1uVgGyRN6lW+KshZaVQvMmWw1lM8/lj8TO6qgR6R4Y\n7Jh51bN9RiaXq3TA/mMtnwsNZ9IughEDJb0pbdoCnN3pipYF2j/g8gz2dXQraBm2zIhKrczniRPN\nVLULpdgVGSRl14xM6fPoBPlbjLLBrRNCb2AvDZ9uTe270R06qhoDF4KJCrhDdQGhcoL9vt0XaWWy\nVtPUjz5TNTIvASkWYs//meLJkQ4+vZuGULzxWkpHOl8Nz+UKYx56WxcwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQA5VmA3Mm88yY0+VIc74APIAQQDyBCU+evgIjOWSRkz0NYA==\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.25.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\nSIb3DQEBBzAABIIBALRdwRKoz0r3rWrce4hzy90QINiBjaBk1WBGUPAjXLWOAIo1KXsyn1XzdOua\nZsNp7M3EC8vsTMLW/bbah3dOO0OoGeFHwbnQYLn4HRXtfHmHNXVDZI1GlZoPDL4UIj9S0pSUHMd9\ndEeELWQw8gL4j/MJyIRbjjKRhwBjDJpJCTa/Qnu8hi7eLVF1nsHfmc7z5nrYFqHxQLWFgUv6rd5i\nA6BGRNLTFVTusm4ayEdZDEEt26dP8mlO5cmJrLdzduFEH3ZvxaMH31KRF/1ErmYmDEoUbn+qnReL\nDHBCCFB0XIbv0GHLVIYe30dES7NhxvSFZT0wAeU4yraK/OcbVgLk2fswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQh8Z83ezYVm/H461anYfS+YAQe5CWnMqe4V8b8Nyd1lteaQ==\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.3.0.0"; DependsOn = { "[xWaitForADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential3ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAGPLNtb6dySElcj9luK2niFOVzpv8lxhqd53WXYbBFsVmVKvbc1lOSZT1Tlt\nW4802IWMAjdAFFK2EvNnLCOWQrdr0S+4ECcUtIyaWkPqWcBRckMOMk1FF68KI5F5gjU6j953Rd0Z\n5e5xS8I4I7b2ZdZEHeh7ZAa82tzdpDh2iUNkpvU203BfRw7wuCqYNR97Nw1+FLdyt2jqqXF6AyvQ\nxX9Ffo5t8hV5UogG86qlvkAABSy7yvXRY5f3uLrEfKumR5CxJVHHdWpxCp7wEs9lpT8r6HM57b/A\nykVLKhMysjpfwZyeVkOgWT3qopOpIwXkl6GbEEaRm2uv0M47luojoMEwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQiGiZJIP5uYmTamEI59+5CoAQFKWcv8nF+e/JhV/VcT/EPg==\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.6.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/04/2019 12:32:35"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |