MOF/CHWK01.mof
/*
@TargetNode='CHWK01' @GeneratedBy=cody @GenerationDate=10/29/2018 18:14:09 @GenerationHost=THINKY */ instance of MSFT_TimeZone as $MSFT_TimeZone1ref { ResourceID = "[TimeZone]TimeZone"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::46::9::TimeZone"; TimeZone = "W. Australia Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.0.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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::7::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::12::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::18::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::3::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "0.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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::12::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of xRemoteDesktopAdmin as $xRemoteDesktopAdmin1ref { ResourceID = "[xRemoteDesktopAdmin]EnableRemoteDesktopService::[ooRemoteDesktop]EnableRemoteDesktop"; UserAuthentication = "NonSecure"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::6::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::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:\\GitProject\\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 = "0.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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::5::5::File"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xFileSystemAccessRule as $MSFT_xFileSystemAccessRule1ref { ResourceID = "[xFileSystemAccessRule]GrantAccessToTempDirectory::[ooTemp]CreateTempDirectory"; Path = "C:\\Temp"; Rights = { "FullControl" }; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::11::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-bc-69-97-65"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.0.3/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DefaultGatewayAddress as $MSFT_DefaultGatewayAddress1ref { ResourceID = "[DefaultGatewayAddress]SetDefaultGatewayAddressCHICAGO::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::27::17::DefaultGatewayAddress"; Address = "10.0.0.1"; ModuleName = "NetworkingDsc"; InterfaceAlias = "CHICAGO"; 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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::41::17::DnsServerAddress"; Address = { "10.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:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "CHICAGO"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameCHICAGO::[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 = "0.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 = "0.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 = "0.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 = "0.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 = "0.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 = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential1ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAFMSLOOgr5qk90uJAHcutX0rlZqOH0vpAScFq6+gjx0iz6Dj9RmFlADQb3Iu\nZHaIzK15IuBJSXvRL97MhXkL4ZXspuoabyjkS1+kfEuri9vZXftWsyOhWaTYBYXqWayGZoqPjDeX\nHI0MD6lAsqOtcTZvBxXvShihXefJzll8gdZFD12XXap7WDoEh7wxSw8jL2O+aSetVp0cFomteNWK\nDSc1293qZKf0yjW5c3iPp7+Yqfj5NgJQx/Jm/5bve4FMJy8NCWh8XvBTJq8J29orIzKWNXx0ZYlO\nN7XrB33zzK96OkqiFh0z7NeOjsVKJ2XC8vdFzsxxsz5d5nmlrwvruw4wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ0HrrBYYruUdwSrp2GgYmZIAQ41O+dbspyqB4A2u0VggFTQ==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xWaitForADDomain as $MSFT_xWaitForADDomain1ref { ResourceID = "[xWaitForADDomain]Create"; DomainUserCredential = $MSFT_Credential1ref; RetryCount = 120; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::175::17::xWaitForADDomain"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; RetryIntervalSec = 15; ModuleVersion = "2.22.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential2ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAL5nxv6xBjV5pldJCgwt/TuVVsme9x8T3UwJ10quqAW7rhlj2HVvCikDWi3V\nq/vU6lJ9eUwaMlAabWIbkYY32wEMsMNbRK8hiStLsb+zp97K64jBf4Z+wrzlWGqYxzHKILUe2nSq\nCynbF1NfPctiJUojM7ysMM1U3My9bAM2p1yzDmN5dFzVRsrShWJdh/ukky72y2ZQeeG+UCyTUSsi\nqtPMM6+mkCTDFMU4wi/MAm5SnNH9zqUB+DB1T79wi/AE75mQTnrC50iEbbU7w55eZ4nIQuAyyERL\neMd4gz57nNvED4v8vkpdeDj46af3+TGWpdIQkVPu3q16Mw5gUnWlkOswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQoMx9MHJvj17hGw8ahwrPHYAQD5f48f16Kd3giLp9zwUl4g==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_Computer as $MSFT_Computer1ref { ResourceID = "[Computer]Rename"; Credential = $MSFT_Credential2ref; DomainName = "lab.com"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::185::17::Computer"; Name = "CHWK01"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.0.0.0"; DependsOn = { "[xWaitForADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential3ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAGb4IMfKH/Bppgc0Ak9yw7LtX0Xm/K6SuzBXlVP6CsuTnloumCpxdBw/+7mP\nREUolW3h+QAPQdOtyIvzE/HrDOzW4bIMJfNj5nOd2hHbQNy1cC9PNMgBhF939VzjcshffcfvZXwl\nD3zRnA3ShOaAtBV92wBSQPLspKMc/yQOOrhXgdEsCDyl9VRbeTwejHMeI+8xhiIIrbo2Pas6+OgP\npiuIhNRCzFyWK6Jkfk8fGc1Wzgob9520Iy7zyyXcvc0Iiuvo90ha5pjLqMgfdUXyRH/2BQdqXr3m\nBEulBhr5erwpwJY/VrEUsRuBUZr9h2MrYUBzeB9VWiVGpCCqErxVz/wwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQBVGZBu1jXjGnN53gjkNWz4AQZaMa39uNX9T1eg4QO8PMew==\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:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::194::17::WaitForAll"; ResourceName = "[xADUser]CreateLocalAdministrator"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "0.0"; DependsOn = { "[Computer]Rename"}; ConfigurationName = "OftenOn"; }; instance of MSFT_GroupResource as $MSFT_GroupResource1ref { ResourceID = "[Group]AddLocalAdministratorToAdministratorsGroup"; MembersToInclude = { "LAB\\LocalAdministrator" }; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::208::17::Group"; GroupName = "Administrators"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; 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:\\GitProject\\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 = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xPackageResource as $MSFT_xPackageResource1ref { ResourceID = "[xPackage]SSMS179::[ooManagementStudio]Install179"; Path = "\\\\CHDC01\\Resources\\SSMS-Setup-ENU.exe"; ProductId = "a0010c7f-d2e9-486b-a658-a1a1106847da"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooManagementStudio\\ooManagementStudio.schema.psm1::15::5::xPackage"; Name = "SSMS179"; ModuleName = "xPSDesiredStateConfiguration"; Arguments = "/install /quiet"; ModuleVersion = "8.4.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="10/29/2018 18:14:09"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |