MOF/DAC1N2.mof
/*
@TargetNode='DAC1N2' @GeneratedBy=cody @GenerationDate=11/01/2018 07:19:19 @GenerationHost=THINKY */ instance of MSFT_xWinEventLog as $MSFT_xWinEventLog1ref { ResourceID = "[xWinEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Operational"; SourceInfo = "C:\\Git\\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:\\Git\\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:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::18::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.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::51::9::TimeZone"; TimeZone = "Pacific Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.0.0.0"; DependsOn = { "[xWinEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog", "[xWinEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog", "[xWinEventLog]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 = "0.0"; 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 = "0.0"; 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 = "6.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 = "6.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 = "6.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 = "6.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 = "0.0"; 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 = "0.0"; 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]RenameDALLAS::[ooNetwork]RenameNetwork"; MacAddress = "00-03-93-b6-14-ae"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "DALLAS"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress1ref { ResourceID = "[IPAddress]SetIPAddressDALLAS::[ooNetwork]RenameNetwork"; InterfaceAlias = "DALLAS"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.2.12/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DefaultGatewayAddress as $MSFT_DefaultGatewayAddress1ref { ResourceID = "[DefaultGatewayAddress]SetDefaultGatewayAddressDALLAS::[ooNetwork]RenameNetwork"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::27::17::DefaultGatewayAddress"; Address = "10.0.2.1"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress1ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressDALLAS::[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 = "DALLAS"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix1ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS::[ooNetwork]RenameNetwork"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName2ref { ResourceID = "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetwork"; MacAddress = "00-03-da-19-44-93"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "DALLAS_HB"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress2ref { ResourceID = "[IPAddress]SetIPAddressDALLAS_HB::[ooNetwork]RenameNetwork"; InterfaceAlias = "DALLAS_HB"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.12.12/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress2ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressDALLAS_HB::[ooNetwork]RenameNetwork"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::48::17::DnsServerAddress"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix2ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS_HB::[ooNetwork]RenameNetwork"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS_HB::[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 = "0.0"; 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 = "0.0"; 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 = "0.0"; 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 = "0.0"; 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 = "0.0"; 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 = "0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource7ref { ResourceID = "[WindowsFeature]Resource6::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::38::1::WindowsFeature"; Name = "Failover-Clustering"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential1ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAIBnyURD1Ov77zm/Gxyh1WMAPU+dAWcIis9TXcZX+cAIDagxTiX9sJ93bnfV\nxIdbwBQr2ld1U8SqO9nCcSYzpni/ToD/cUau+k41GglSgKqBV9qU+fTig0iszhHNedJ2DyvhaI1S\n5dK7i4h7Q2ZBvVwazFZussuda+LO3VVWrpw1V0OgYW1oqNWylqOhL5nY7juQu1i7XqqUwWSUSGiq\nFY8a/HEfvG27suimpNHYFP+0mn1F14i8K23bcb+aIejLZEb5K5kApHU3HRhifUws6VO/RHF69bN2\n/jygWmKty4ij01BHdGllQbzeYzqFRa9Z2QOKOUdPw5Jp1pbdRw3L5xEwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQp0dYyV1HP681XkM3YFa+Y4AQ/uXk56wCxMr//tWnIsGdIg==\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::197::17::xWaitForADDomain"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; RetryIntervalSec = 15; ModuleVersion = "2.22.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetwork", "[IPAddress]SetIPAddressDALLAS::[ooNetwork]RenameNetwork", "[DefaultGatewayAddress]SetDefaultGatewayAddressDALLAS::[ooNetwork]RenameNetwork", "[DnsServerAddress]SetDnsServerAddressDALLAS::[ooNetwork]RenameNetwork", "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS::[ooNetwork]RenameNetwork", "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetwork", "[IPAddress]SetIPAddressDALLAS_HB::[ooNetwork]RenameNetwork", "[DnsServerAddress]SetDnsServerAddressDALLAS_HB::[ooNetwork]RenameNetwork", "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS_HB::[ooNetwork]RenameNetwork"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential2ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAB8d2RLzcD0Pjkrj6lF0E/8tghgLjCcC5n5Z39CaKVTprlxLaVJcnHzSGUHH\n1HX5tdQ9cc2nhmbfZea9c5skD/P3xB5Sh/JgsF7rg4Nuqcw5aazm/35RD0Ptj/Xrw8tHuAzEn/bE\nyrcewGSyGiModY4V6YY/ebp1SEU+vMYGRZG50cMWu4ufu2oalMrwsNeveceiccQLmNw+OFoIRyaJ\nV+JGKOmkdBYqcLkcJQs0Vv80D4eSWmrfWrKbx+Tc0SP/LOw5yQtqOliefss+2p3Oq85h4C+dje7W\nLnKTAtyzOihZrk+/U37OVTKCkIaxSF9+GO2FAu22CHEHjmj8j75eha8wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQxV7PiZyJzVRm1cKGN5qAh4AQf3Eiw9Wpedh5rh9Q5LwcKA==\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::209::17::Computer"; Name = "DAC1N2"; 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\nSIb3DQEBBzAABIIBAI/H8rsAngg6S41M0cADKix8bH3fPgbDzmVInrJuBQO+IFtAEWdFesIg4JmR\n08VWmqd/Je17UtYvj2TyOkSz5ZErYnLVMZl+vE9i0sN1EGzFq7uWfBEXFyE7mCZGdXERLYp2lbqL\nJyH1Xu26a57lrhBj3fg9tKuqMAW8AtpC26jF63wJp6zlcILTVATjweoUOY9OKGzxkI+G87lUIDlo\ngqCIzxsTLVuLcyBzKdlnnz6V0xW6fCxnewttKarys+iHGScfzraTjFnANF8yWC21jGlVwZv5PP39\ngvH95wP9CIXRbL0VFCsxnScUs4lVeJqSLNAVML6pU9JUjLc7R2p6ilcwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQhEAhAip3/dNURbxj7qrsEIAQ8Fp03RIn+DhmXr4Ev6WQMw==\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::218::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:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::232::17::Group"; GroupName = "Administrators"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; DependsOn = { "[WaitForAll]CreateLocalAdministrator"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential4ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAHvpMWmp+DNrJ0T1XyJFp3PRt/1mHrv/1RSfbXtoEtgmpXc0J79OxUWiKEav\nzi5wttP4BQler657S9xj/yDN0fdzFpaaklwWJYwLA5ewojXmZRT45JRdrLeOxJXV5notoWzD3ZE5\n3e/QWoTNUc3V2WES1Hv6YIhGH3D7+J43frmsTEsAjEF+0Yg4Cvkb23bmejS0zaWXq1WKKlADfLFk\nRd1S+ug/i/H/Oqecd71wNQ/Exs9wSbBvaS7HpDfYhRxqsdSfOD/JpxGtmRUeEUFedBgppvV8sbI/\nN3f4dgoVAuRtuyPIZeILiXqOjI5sFzmkfgOGSR0dsyxHTM3xy30pDuowPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQKioZCq/urbWITtQOVc9Sd4AQZfCVIaDOtS2lvGC1DN5LZg==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll2ref { ResourceID = "[WaitForAll]WaitForClusterC1"; PsDscRunAsCredential = $MSFT_Credential4ref; NodeName = { "DAC1N1" }; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::261::21::WaitForAll"; ResourceName = "[xCluster]AddNodeToClusterC1"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "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", "[Computer]Rename"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential5ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAJKY99Amw7XxsrOAF0xPeNUVxtRRqj7lehJbmM6iizhhzS6Fm+NqxUhOZ5Mp\n24SkwgDy0/S4Az4ap3wP072ywVo9HpRV5ANisPLrU9Uj15aZr7ncUzsla/nSx8+lN3rk4RhuvwXj\ns3Ru26RFlhzkjXft8PO/94mz1WWzK5jXuDfhoJxL/qYCgfCoRZe6gD2jSJkQSXBXoOYS88nCNciI\ng6IJkrvU/gJuldZ23CFgU4XF6NhQFlyx04YlHt/7uxZuxjidYBvJA2kOH2ItznGKxqmxMbikd0CK\n8hnPWyPbop6vrJlDVWIta3HqdTHXq3QZhcQiqAV9abrFsMwgZMntOqMwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQPZcT9e36sVmWSwah1OGoFIAQ2ohDm80f9tFvEFnsmRGcZA==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xCluster as $MSFT_xCluster1ref { ResourceID = "[xCluster]AddNodeToClusterC1"; IgnoreNetwork = { "10.0.12.0/24" }; StaticIPAddress = "10.0.2.21/24"; DomainAdministratorCredential = $MSFT_Credential5ref; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::274::21::xCluster"; Name = "C1"; ModuleName = "xFailOverCluster"; ModuleVersion = "1.11.0.0"; DependsOn = { "[WaitForAll]WaitForClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_ScriptResource as $MSFT_ScriptResource2ref { ResourceID = "[Script]AddStaticIPToClusterC1"; GetScript = "$clusterStaticAddress = [System.Management.Automation.PSSerializer]::Deserialize('<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\">\n <Obj RefId=\"0\">\n <TN RefId=\"0\">\n <T>System.Collections.Hashtable</T>\n <T>System.Object</T>\n </TN>\n <DCT>\n <En>\n <S N=\"Key\">NetworkID</S>\n <S N=\"Value\">10.0.2.0</S>\n </En>\n <En>\n <S N=\"Key\">SubnetMask</S>\n <S N=\"Value\">255.255.255.0</S>\n </En>\n <En>\n <S N=\"Key\">CIDR</S>\n <S N=\"Value\">10.0.2.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network DALLAS (Client)</S>\n </En>\n <En>\n <S N=\"Key\">CIDRSuffix</S>\n <I32 N=\"Value\">24</I32>\n </En>\n <En>\n <S N=\"Key\">IPAddress</S>\n <S N=\"Value\">10.0.2.21</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n if (Get-ClusterResource | Where-Object { $_.ResourceType -eq 'IP Address' } | Get-ClusterParameter -Name Address | Where-Object { $_.Value -eq $clusterStaticAddress.IPAddress }) {\n @{ Result = \"true\"; }\n } else {\n @{ Result = \"false\"; }\n }\n "; TestScript = "$clusterStaticAddress = [System.Management.Automation.PSSerializer]::Deserialize('<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\">\n <Obj RefId=\"0\">\n <TN RefId=\"0\">\n <T>System.Collections.Hashtable</T>\n <T>System.Object</T>\n </TN>\n <DCT>\n <En>\n <S N=\"Key\">NetworkID</S>\n <S N=\"Value\">10.0.2.0</S>\n </En>\n <En>\n <S N=\"Key\">SubnetMask</S>\n <S N=\"Value\">255.255.255.0</S>\n </En>\n <En>\n <S N=\"Key\">CIDR</S>\n <S N=\"Value\">10.0.2.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network DALLAS (Client)</S>\n </En>\n <En>\n <S N=\"Key\">CIDRSuffix</S>\n <I32 N=\"Value\">24</I32>\n </En>\n <En>\n <S N=\"Key\">IPAddress</S>\n <S N=\"Value\">10.0.2.21</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n if (Get-ClusterResource | Where-Object { $_.ResourceType -eq 'IP Address' } | Get-ClusterParameter -Name Address | Where-Object { $_.Value -eq $clusterStaticAddress.IPAddress }) {\n $true\n } else {\n $false\n }\n "; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::284::21::Script"; SetScript = "$clusterStaticAddress = [System.Management.Automation.PSSerializer]::Deserialize('<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\">\n <Obj RefId=\"0\">\n <TN RefId=\"0\">\n <T>System.Collections.Hashtable</T>\n <T>System.Object</T>\n </TN>\n <DCT>\n <En>\n <S N=\"Key\">NetworkID</S>\n <S N=\"Value\">10.0.2.0</S>\n </En>\n <En>\n <S N=\"Key\">SubnetMask</S>\n <S N=\"Value\">255.255.255.0</S>\n </En>\n <En>\n <S N=\"Key\">CIDR</S>\n <S N=\"Value\">10.0.2.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network DALLAS (Client)</S>\n </En>\n <En>\n <S N=\"Key\">CIDRSuffix</S>\n <I32 N=\"Value\">24</I32>\n </En>\n <En>\n <S N=\"Key\">IPAddress</S>\n <S N=\"Value\">10.0.2.21</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n $resourceName = \"IP Address $($clusterStaticAddress.IPAddress)\"\n Get-Cluster | Add-ClusterResource -Name $resourceName -Group 'Cluster Group' -ResourceType 'IP Address'\n Get-ClusterResource -Name $resourceName | Set-ClusterParameter -Multiple @{ Address = $clusterStaticAddress.IPAddress; Network = $clusterStaticAddress.Name; SubnetMask = $clusterStaticAddress.SubnetMask; }\n $dependencyExpression = (Get-Cluster | Get-ClusterResourceDependency -Resource 'Cluster Name').DependencyExpression\n if ($dependencyExpression -match '^\\((.*)\\)$') {\n $dependencyExpression = $Matches[1] + \" or [$resourceName]\"\n } else {\n $dependencyExpression = $dependencyExpression + \" or [$resourceName]\"\n }\n Get-Cluster | Set-ClusterResourceDependency -Resource 'Cluster Name' -Dependency $dependencyExpression\n # Without this, it won't start automatically on first try\n (Get-Cluster | Get-ClusterResource -Name $resourceName).PersistentState = 1\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; DependsOn = { "[xClusterNetwork]RenameClusterNetworkC1Client", "[xClusterNetwork]RenameClusterNetworkC1Heartbeat"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xClusterNetwork as $MSFT_xClusterNetwork1ref { ResourceID = "[xClusterNetwork]RenameClusterNetworkC1Client"; Role = "3"; AddressMask = "255.255.255.0"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::318::17::xClusterNetwork"; Name = "Cluster Network DALLAS (Client)"; Address = "10.0.2.0"; ModuleName = "xFailOverCluster"; ModuleVersion = "1.11.0.0"; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xClusterNetwork as $MSFT_xClusterNetwork2ref { ResourceID = "[xClusterNetwork]RenameClusterNetworkC1Heartbeat"; Role = "1"; AddressMask = "255.255.255.0"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::327::17::xClusterNetwork"; Name = "Cluster Network DALLAS_HB (Heartbeat)"; Address = "10.0.12.0"; ModuleName = "xFailOverCluster"; ModuleVersion = "1.11.0.0"; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential6ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAJzaGCOrbygg7uPqnkJZpAlMBWXuCNeyiuSwkH17WIuRTNGVGm2ATLcd+MAw\nNY3c7kmHbCZlXY39dglvHqVLcfI73TKBHLLI08DqQoVAW4kaPB53prwp0+O1XUKA2GgBvOhIkJST\nnloooQTbzHGjTCJlsm9upV0nLp4n2ui43ySe58VjYMro+2rBWKHv9qszbaoZXueO0Laj1DLFOHAe\npj4I9SCu9U04P3v8MCecavfjYrNT4MZuuEEX5zdqVzAMqUoNw4o2W3vhps9BX1nC4CVfP/PDQxrX\niXd6Pm39G9er5w9teElnTWOC2SEWKDR4XR/csvwTGM6vsTFCIOoHVTEwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQwXgLY7+dBvOXR9MrOcMEwoAQWzjPN4QxVK5X0kWnrME/SA==\n-----END CMS-----"; UserName = "LAB\\SQLEngineService"; }; instance of MSFT_Credential as $MSFT_Credential7ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAIjRnswfE3fOfHQQa4F/goU7zYnD5HM86bCYjp+Lw4xvjTzVJ08gDY3SCYXt\ngDKAL04MgCHTsKK6hq6hRas9UF9IwZHuqEAoFZSUD5IUaSGS4G3lYu/+yu4Bq+pcqwT6RB9UhxQ/\nGiEQHf7eaGd8aYWMzHKmRkTOGSb3kynRDFcaILksRImpecvm3CsTzi6qCJEj4+kVd2GKWSPqnGcO\nAfjQJssVjQUvdPJQ6OWofJZn/yCMDo9hHdHDQCjtrBrWMfE2VLNYIREobD/fpMHEQLq7QebWTYom\nvkIVO5tWLLaNQSphxjryAU0cLJM4EmnucYLFZ6ure/YkQvkUvA5I0LowPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQeyY5dOAqltdZUqeS73nIXIAQXJaHULgvJKIfQ8NPVVkSQg==\n-----END CMS-----"; UserName = "sa"; }; instance of MSFT_SqlSetup as $MSFT_SqlSetup1ref { Action = "Install"; UpdateEnabled = "False"; SecurityMode = "SQL"; ResourceID = "[SqlSetup]InstallSQLServer"; InstanceName = "MSSQLSERVER"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::342::17::SqlSetup"; SQLSysAdminAccounts = { "LAB\\LocalAdministrator" }; SourcePath = "\\\\CHDC01\\Resources\\SQLServer2012"; SQLSvcAccount = $MSFT_Credential6ref; ModuleVersion = "12.1.0.0"; ModuleName = "SqlServerDsc"; Features = "SQLENGINE,REPLICATION,FULLTEXT,SSMS,ADV_SSMS"; SAPwd = $MSFT_Credential7ref; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_SqlWindowsFirewall as $MSFT_SqlWindowsFirewall1ref { ResourceID = "[SqlWindowsFirewall]AddFirewallRuleSQL"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::356::17::SqlWindowsFirewall"; Features = "SQLENGINE,REPLICATION,FULLTEXT,SSMS,ADV_SSMS"; ModuleName = "SqlServerDsc"; ModuleVersion = "12.1.0.0"; SourcePath = "\\\\CHDC01\\Resources\\SQLServer2012"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_SqlAlwaysOnService as $MSFT_SqlAlwaysOnService1ref { ResourceID = "[SqlAlwaysOnService]EnableAlwaysOn"; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::365::17::SqlAlwaysOnService"; ModuleName = "SqlServerDsc"; ModuleVersion = "12.1.0.0"; DependsOn = { "[SqlWindowsFirewall]AddFirewallRuleSQL"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential8ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAMopbrFGl2HwCOPtBov1o3zfEvAfyb0TkPGGahgWZYsy3jWE6puA7f1PKseT\nKA2tJLlV49utgtAT8Kb1xp3Rm4w89xh69lkjUwaJytWjRH7eYihrxH4uLue6ui79BZJxmLrS47d6\nSVffZ7H674yxkxIPizhEaA9W020L2ubYiqDDo1CnGdJasD/PH8KHgDWnjAoopmvDBRjEjAddVnNe\nI6nR1oA7swJZ7bjNpbV6DpwPKFUeFNQUCCCb4mlU2W2zAQwvemniuS2tTPxWWXaCSG98dBCbxzKq\nHmaxqck36C8aLjA/HRIULGC63PG+VDtTs4lnFQRfRT0+NxZI5bsZF0UwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ71foeeR4lr2Pml0ONz9msoAQu+qeMBg21syzrvUW9t63uA==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerLogin as $MSFT_SqlServerLogin1ref { ResourceID = "[SqlServerLogin]CreateLoginForAG"; PsDscRunAsCredential = $MSFT_Credential8ref; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::373::17::SqlServerLogin"; Name = "LAB\\SQLEngineService"; ModuleName = "SqlServerDsc"; ModuleVersion = "12.1.0.0"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_SqlServerEndpoint as $MSFT_SqlServerEndpoint1ref { ResourceID = "[SqlServerEndpoint]CreateHadrEndpoint"; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::384::17::SqlServerEndpoint"; EndpointName = "Hadr_endpoint"; ModuleName = "SqlServerDsc"; Port = 5022; ModuleVersion = "12.1.0.0"; DependsOn = { "[SqlAlwaysOnService]EnableAlwaysOn"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential9ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAKsSI9+iSj4p0yVjMYUKjZwUo5IJzuR0ozjGmXcNG7Tc5aMph4mpIwdYt44x\nr85xlrCyeHlI85MFW6rbT0U9wYS96AevkbeSZY1ugTq/zg8JwDQ8jqMCEPjb7QAs/RdRRP5H20a6\nQoxnP6QhFbm/PIwlo8pLVqaDnWMRm3oPo7OdS/LpO67VJqWBWgq5Ie5gVPLK4ZKCpAI9vEOf7BXj\nQEibm45KrX9kexrAmImuKvG1AHpIWxfMEzNJhvCK/lks0JJmantlimvfLHzHtUTm9NlBhVfgMa/c\ndMwQxXeseKFNAjip142C5v4hanTX+d3eiKhYU+1L48jVcBBZ5d7nG2wwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQfucQERJls5fLjks1p6sHrIAQkLUK3u7QsY1gmeu4Nf9tCg==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerEndpointPermission as $MSFT_SqlServerEndpointPermission1ref { ResourceID = "[SqlServerEndpointPermission]AddLoginForAGEndpointPermission"; Permission = "CONNECT"; PsDscRunAsCredential = $MSFT_Credential9ref; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::395::17::SqlServerEndpointPermission"; Name = "Hadr_endpoint"; ModuleName = "SqlServerDsc"; Principal = "LAB\\SQLEngineService"; ModuleVersion = "12.1.0.0"; DependsOn = { "[SqlServerEndpoint]CreateHadrEndpoint", "[SqlServerLogin]CreateLoginForAG"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential10ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAE9AdXggzv2SZXGCKfrn4QKT9nxFDFxMeURrGp7/5MRKd9GV7jgQCm/UALZZ\n147wv4bI4DCOAFpX3Cpd+tM6BKxVgyj/2/s2nvNI70cSyPR7uwk4F66vejBT8bg/WMQv13HDBmLx\nviGxWzxMNtKhCBNNUe9IqGqGA4RXg5MiCE8un1thPFkD7RaQuLOK09s8mAwEXRYeU7NrA0upfzPO\nGxOt14NHTZiYKNLQUPT4nKHCOGLsyIqc/VXeFCbjVDdJjjMtRG/NkrV16QrNW7TzDSeQZ55lwdJB\ndZEEMbWKDZME1jqBijz+EtjWYYYbsFeURWl/LLoshm6iEUlypIbUHiUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQHOuL9ZHWJf8I9DJalR5LG4AQZBJksM5SrkOSJ75Xj3sYNg==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerPermission as $MSFT_SqlServerPermission1ref { ResourceID = "[SqlServerPermission]AddPermissionsForAGMembership"; Permission = { "AlterAnyAvailabilityGroup", "ViewServerState" }; PsDscRunAsCredential = $MSFT_Credential10ref; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::408::17::SqlServerPermission"; ModuleName = "SqlServerDsc"; Principal = "NT AUTHORITY\\SYSTEM"; ModuleVersion = "12.1.0.0"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential11ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAKIvGSPjrvhrFhK/KTDgvtKfoihnHVfrUrzGd+XoL/qgK089/DMPGsV/ey1U\nyq/ILmReRlSj0Lm03+10fBfzF9OeNCzaEhQdZad444eLKIUP+ckaI8JaIbjsUOxrxNmB92mJEbd3\nXAJJR2gzPcjUvb0/yRk/hS4wttaOMeuh/9komh0a3A1zAKCJWs9ARDhTnkyh/fIXNZ+oAOUSe6x9\n6p9vcs1/lq+EY6n28wqAdnSQfMK7qI3Y2OwwoG6Im5hNDnBFkCpGQeGF7vUsC0xijc0czIQcS4yF\noBPR7J2M0Vykw4HZvm/g/lWzCFmdjMX2bQfTpOm3cmw6HwN5Jjj+mK0wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ/xEti4koLzGJAYAD2y3h8oAQg+0y/9D35KTXwfCWQF6hMQ==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll3ref { ResourceID = "[WaitForAll]WaitForAG1L"; PsDscRunAsCredential = $MSFT_Credential11ref; NodeName = { "SEC1N1" }; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::518::25::WaitForAll"; ResourceName = "[SqlAGListener]CreateListenerAG1L"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential12ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAMELIMRUzvkOuvM7002Jo96IpowVjv5USAliS3gqZSiKvdj7pVrEerYCbaQL\nR/fl+CwaUz1Op7y+N5w+clD3Hr7ngrcrspAEy+rzSjqot7yMEZ8l63a6LMeTBHHdAAlIQ42dzOGz\nPn4gon0CJOb+IXT7LLT1txcvvUpThY9lJEs3ibhmVVvM4w22GfXBArE1nV1nAc/BCkMbnXL9rGr6\nj6QEmg8j2rOBmDs+uJ0rLWsDqPAa9QgHxe4tx4zdvdLUCwwHCXYqPcT7pdRYI3LFLjlcA6B24aMa\n+bxRY1h0SsU+2JGpP2fNyr9JEYi/GDKuHHRhcRP2Sl0qWd3XNLULTmAwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQw5RL//Gz4WuYsM7/pfbMuYAQ/l4QQTuaYas46JR9uPUdUg==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlAGReplica as $MSFT_SqlAGReplica1ref { AvailabilityGroupName = "AG1"; ServerName = "DAC1N2"; Name = "DAC1N2"; PrimaryReplicaServerName = "SEC1N1"; ConnectionModeInSecondaryRole = "AllowAllConnections"; FailoverMode = "Manual"; PsDscRunAsCredential = $MSFT_Credential12ref; ResourceID = "[SqlAGReplica]AddReplicaToAvailabilityGroupAG1"; Ensure = "Present"; ConnectionModeInPrimaryRole = "AllowAllConnections"; InstanceName = "MSSQLSERVER"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::527::25::SqlAGReplica"; AvailabilityMode = "AsynchronousCommit"; ModuleVersion = "12.1.0.0"; ModuleName = "SqlServerDsc"; PrimaryReplicaInstanceName = "MSSQLSERVER"; DependsOn = { "[WaitForAll]WaitForAG1L"}; ConfigurationName = "OftenOn"; }; instance of OMI_ConfigurationDocument { Version="2.0.0"; MinimumCompatibleVersion = "2.0.0"; CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"}; Author="cody"; GenerationDate="11/01/2018 07:19:19"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |