MOF/SEC1N2.mof
/*
@TargetNode='SEC1N2' @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]RenameSEATTLE::[ooNetwork]RenameNetwork"; MacAddress = "00-03-6d-0a-1d-13"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "SEATTLE"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress1ref { ResourceID = "[IPAddress]SetIPAddressSEATTLE::[ooNetwork]RenameNetwork"; InterfaceAlias = "SEATTLE"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.1.12/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DefaultGatewayAddress as $MSFT_DefaultGatewayAddress1ref { ResourceID = "[DefaultGatewayAddress]SetDefaultGatewayAddressSEATTLE::[ooNetwork]RenameNetwork"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::27::17::DefaultGatewayAddress"; Address = "10.0.1.1"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress1ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE::[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 = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix1ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE::[ooNetwork]RenameNetwork"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName2ref { ResourceID = "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork"; MacAddress = "00-03-25-ac-02-a5"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "SEATTLE_HB"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress2ref { ResourceID = "[IPAddress]SetIPAddressSEATTLE_HB::[ooNetwork]RenameNetwork"; InterfaceAlias = "SEATTLE_HB"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.11.12/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress2ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE_HB::[ooNetwork]RenameNetwork"; AddressFamily = "IPv4"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::48::17::DnsServerAddress"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix2ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE_HB::[ooNetwork]RenameNetwork"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_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\nSIb3DQEBBzAABIIBAIiSj0RRnWFqTLM6MmNHfXzh/6CvExYfcn52fFO+hqZer2VKEMjCVhAoiitu\nlvjN5qPzYZ/K6du9VtxhlavPyZPagA0PnV9KrD5DuHogDVhweh6xa0jTcHBRB22cD65dTJjrVv++\nTwwEfy/izbWtvQob3yF5Aoty2jW5SAVIkD9lQ9o4koEGofUeh0aKq2LKnws5aYoS4ZR7nx/8T0Cw\nfVAD+ptjDJD6B1t9mMlCpTzRlBeE7O45qpYnPtjgB8fgAxl4gok+xI6wNu2X2GfLnfwekXtb3nFi\nH9hbuiBvAUFLr9cljZB7YzFIx3Q4ePHnz3L/xcl8UUoln1/F3+IJRGgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQslSbq93pmAzYfeCgS+b47IAQ+Oqm+sWU0JBPeawJjnk4SA==\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]RenameSEATTLE::[ooNetwork]RenameNetwork", "[IPAddress]SetIPAddressSEATTLE::[ooNetwork]RenameNetwork", "[DefaultGatewayAddress]SetDefaultGatewayAddressSEATTLE::[ooNetwork]RenameNetwork", "[DnsServerAddress]SetDnsServerAddressSEATTLE::[ooNetwork]RenameNetwork", "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE::[ooNetwork]RenameNetwork", "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork", "[IPAddress]SetIPAddressSEATTLE_HB::[ooNetwork]RenameNetwork", "[DnsServerAddress]SetDnsServerAddressSEATTLE_HB::[ooNetwork]RenameNetwork", "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE_HB::[ooNetwork]RenameNetwork"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential2ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBALWuRK+VPcSJxZkDRVhmguAkhYL1TygvbvanMM2+F6qvHpCu3r3coas7EGXX\nOAxr30ZdyuKZnaOj2MCkmGyx9cZXSFiJMz1mDvEgjEY5+OKCrJIVZzWy2aUP2v0VIBbPFYcK1Pce\ne5Ub0e8HzTtc0O+TdpX1I7onXIj1v33EK+/AwlLLSawCTKZeud+SKa/C6R3S3b2EYfYto5MgwHRS\nZFv0qRQUXeDyVResc/a/+IGq+3fALQfdfofMKjcsWSMTA+dRdGHowB/tfFmRKWnNDIavd5GaVjeV\nZZcxeEo0iK3TuJpZ2NT41imw8W51yVrtdtwk2CBUZMIHA6OZK3ISUnswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ2FqHTUEfNzGwQ0+ISw/liIAQ0V/L5UkbAyq4bqD20qG71Q==\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 = "SEC1N2"; 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\nSIb3DQEBBzAABIIBABREQ5H4eVfjGLiVOXKYtg93kZtxG6umkwBDbdYjW3GUK5Qpyeym8eO6oarJ\nA2dZIKK66K/5VtIJcd9WmbyNdasaAMRlif+vW8n93qcdQUyrWf9TRINmrVbIMh4B7gRnvDXeXcHu\ncG8B2pZPdrBcu7FbRt0gW4yplVkw31YUrqc2lFqp7wbzFqfdvPKJvNTfVpv1EsLsgCwSc/e4xccd\nQBC/6fVGBK/QHK1DJ9PdHN2ONi7QxrKEbd1SV4uW/SjipfmonxA7f1EN/Z2WOCECYq3Oljewy+yX\nM7179PbiBJaD05bjxrSaA/NUBMWoym8+44YieQb5sudhayEJw7x7ASAwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQs3IrksdiDXV3JsW5dZtImoAQvIgDZmECbgP0qbfh769pIA==\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\nSIb3DQEBBzAABIIBAD251BKNd1D2EAjSaSQ6QiWsMeXhvEpgEnEg3Wq/FefEnrQpQquSV8QTZjsJ\npX8pSLVEj+MVSN97nWLO2mnkMG29sMUQz0ny4xPMR3BupRtfhcOs53Ijgy58SVEvNezpfYRmq6yN\nWghoEDI5Er/P0YZV0FlvRaZBY3C5olznFreJSPbsmLtk89RF+sSS4LnHWbjcUOBrB7kaOTuyfuj4\nEeFa0byZhZ/BoSg2E4nR2PvbvHKiCwu/XpvjR9kSvFl9yaKtKRgFyPA/zLXIXm9vv2Ds9o39PFGH\n1foKUp5yHZp7hay7qWlqbFU+ySv6TBoWHg3msIVpf4nWzMGNyTkLqjYwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQah5Jnbz8jKXKbh+KKMt3ioAQOYChPxR9rO3HOjspYhK/AQ==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll2ref { ResourceID = "[WaitForAll]WaitForClusterC1"; PsDscRunAsCredential = $MSFT_Credential4ref; NodeName = { "SEC1N1" }; 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\nSIb3DQEBBzAABIIBADJABc5D31HXDzbh/fgurb1JUmk7RrZEazjeSkcURYiiRYnxqNiNqLetKsBw\njoN8mbN1hIBD2mzsC6FPKMamVxXfNeANvNqNW30feAHM7fpGQajxpSQbvP2srmT+hBY3KownBt/G\n0KVlC5pg3oYrwRyqG3K0KvvIKT/e3EJTPsp38rIGLbIjxFyOWz2Scocu30hVDHVrQBUnuXZOy4YA\n0n6NfQXb0Y+tSCPzfoJUA/W59wLin3xXl3e1BrRKzsCn0DU2nYcfC/z/WkA8ZclzQO1b7nhkpP86\nrQc7NbMSbeDw2hCNmYYAlLtVV7WUFqwW28jXpNrLWjK+Ghjqbm8FCLswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQxITNWoYi91TLPxYOgmn79oAQ6pb/dB7aMeiubKz9i2drUw==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xCluster as $MSFT_xCluster1ref { ResourceID = "[xCluster]AddNodeToClusterC1"; IgnoreNetwork = { "10.0.11.0/24" }; StaticIPAddress = "10.0.1.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.1.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.1.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network SEATTLE (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.1.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.1.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.1.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network SEATTLE (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.1.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.1.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.1.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network SEATTLE (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.1.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 SEATTLE (Client)"; Address = "10.0.1.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 SEATTLE_HB (Heartbeat)"; Address = "10.0.11.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\nSIb3DQEBBzAABIIBAIOneY180GQa5B8XK3DkPAEcHtnwhw1qZmsVDKFOe//3agyp0a+LSuPJhqxW\nwIyhRZZyXhMoDytWAe/6w9Kbjc3vgnWimFgTsTYXOm0aNIoE+FwpYcURpx4o6lGF3zUtHBgZF3t5\nZeVlGrDYcdKC1EaoBfEL3PDIrtdWqagKC/p3CxBBK6otkOkmhj0mkCKF5/lxiAUtYodbFkmaNcL2\nZtKcbObttiOfYHx/UHHx1bnQkRKenfhm23MYI/Q8DC+eRL/w9MvpvpYtLlW0dUEOjdual+jNGfit\nDpq8qaDssgqTEIsVd7gn0WwkUEgqMjPXT7gCbVC+zNreBJ5ZIS9xWKowPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQRDrMiWfiQsPxioe5MymWyYAQzy5IKubR09iu5aK5wPaAdQ==\n-----END CMS-----"; UserName = "LAB\\SQLEngineService"; }; instance of MSFT_Credential as $MSFT_Credential7ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAMKWfU7SuJuQV7ROzZpJOxMARMaZ8jhAmixtz90DqUGa6gBOk2WELukfgAMh\nwUnaq4fTDZvpETzBTHEvHJbWnd96ypv+/QcDCWFq6N2gM39Gb3QYX88bsbBhVktf6eyRZJPHwIyS\nIGN/Ux2FpKA8mS72uxaBtTXuGz0WwhICyzDIVTN1PBp35pXcaXMAWodaPNgWkMWNZm/RZQQfuGUi\n317VrApm9wacf8ezzEEvplX6nP05PP9OPbTlug+riRePfZOvOiibvV2gcsVblWYolsgcC2OJZ6dt\nfTji0etnmRoDgEWt5l/QjaVhFDoJqOnnX0SKqulTTM6ZXc+fp0ErN7UwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQdJOxJM2MP8899WRVRW2H34AQtICRUnQrKZmcksXH2Rg4iw==\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 = "SEC1N2"; 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\nSIb3DQEBBzAABIIBAFqwhtdYe6MnED4DcTRE2h1IhljMVxdNeYIBZiglRzHliJmxcqt7QdDVdo3e\n30hgITHnrQQ/gSdEBA7Z0kmX7cQc5uk2tJaXJOCZhH4f7PtnQDcN5NLFe+oibebKXJuJ0yCUwCk2\n6otI3pSnM7S2oxqEGFnMfu8mJ+ST8W/YbvtN6E+ict7HJUTv6827q2X5JjDKGm8m/HMrcRHtiOAi\nA4C6ENaWq4A3oAja8fDbEurz+UTdkfweXtExQde8+n+r8lDwfb7yjD4Ke7vtfthufb2OHLkSKKYP\n2Qoads+rm972SiMKKCp9FMuvh/lo7VMvbs880DEInyiO0aGKWkrQyeswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQgSxRYzdXKtFsPK5WN5jS1oAQUpyvdooMkOsneqDFZkjFaA==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerLogin as $MSFT_SqlServerLogin1ref { ResourceID = "[SqlServerLogin]CreateLoginForAG"; PsDscRunAsCredential = $MSFT_Credential8ref; ServerName = "SEC1N2"; 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 = "SEC1N2"; 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\nSIb3DQEBBzAABIIBAGJaF+8Ml3L4/E5gj3Lmf92aUk+XwdLkv0IAfoG/HazVXyNOItEt+lmall2y\n52WZY4onlAqgmVd9KHEAwPL/aBs9g1zw22lK1Nz+KdVaGJUZI/+l07lGZc0yvCIT1feuqo9jSgv1\nehLz2NRriC4CjGCLNMI6T2ItAe1a4mmlUne8feNULi4PXGXEt2TiprIEKFIbx7Tukur4U8MGTwza\n42YKQ+WfELq7w/EPg1gHI1Bj+mR9FW0paIxWt9KIo8NM8KAzEUhTE4i5bI2p+52PeW9iUE6z1PGF\n0aKTTkMtS5YGkLyXwQfl36egDUIkhm0keCzYp/aEQnU3MWUlT/guT8QwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQKDWHYVjCZyHDyhxvJGF/LoAQyxkQMJW66S2PUl36f3uEZw==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerEndpointPermission as $MSFT_SqlServerEndpointPermission1ref { ResourceID = "[SqlServerEndpointPermission]AddLoginForAGEndpointPermission"; Permission = "CONNECT"; PsDscRunAsCredential = $MSFT_Credential9ref; ServerName = "SEC1N2"; 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\nSIb3DQEBBzAABIIBAGxTv6vCzWbTN4GwS9h/sr3a0owcs0MGGRHDmjbw2lx/u4P7uavhdW24zLay\nrSmOg6mlNbWbZ2dF8vIA4I2X/D3xW2ype9u79Yo8briCJoOuupypwE5/63krJPbbKdXkCNxZKGGY\nMIu9EIVoCmc91CBcwUqYAoC7U5msi4/DnkXM9lewuPKb8VXJFM27bMXqAZp2Ykj26HzELx48Ax1L\nt+oNMN1dhGm0NWhty0wnxjJFBrLo15eOSnwoNiTjUsOvcchOh88KBtko7+ig5NGU3QCgCprG49BG\nj+UVRR2pxdTj+ylG4NooGb2NIYNm4iHig1aZC7arqdhv8po/5rG0ArkwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQNugKvitrVuUt1KNLpUMAtIAQIMBNqhKBAwTGKFl8N9T3tw==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerPermission as $MSFT_SqlServerPermission1ref { ResourceID = "[SqlServerPermission]AddPermissionsForAGMembership"; Permission = { "AlterAnyAvailabilityGroup", "ViewServerState" }; PsDscRunAsCredential = $MSFT_Credential10ref; ServerName = "SEC1N2"; 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\nSIb3DQEBBzAABIIBADEpE84vWoyByou9glYgwN41EiB63nj03qr3kA6vxZQkk2KXZSeH4PFxf4K3\nhm71UiDVS075luALXqtTfKTHZuVg11YN2hfsSi56drp9YG/blmDhFmqi875rrNAjG2ULKXElo1hW\nOlp1Y7yIAEgsF/2xB2x89GhIs+tgR/m4K7pvVrC8FF7SLNw9v+L2bTyJk5K4gCau7dHFczFbGvZ9\nruuVDVJoyIb0KI6JBfx7430YPNjrw5SqPyUO7RJcWyXwVkIBeoGxi2tSvezdHitPihegPpcxfXdd\n1JHmGeQHPF0TqBWiXUn9/6/t+3gE2waoTsZBspCHrwCcv896AEkvqs0wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQW4NwABX6n6Ukax+RLRCNRoAQR6PGxkHYuUXgrGYZkITWKA==\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\nSIb3DQEBBzAABIIBAMT6JqdG5UxJZF623Xhe/mF3tMr3Vf2wYK3MzdNn48G7QMF+WJ1ELpW55XPv\ntQ/nQEstSJeYI+obYuUNeMVXRgkCizuJUwJOT4e9bVEMeSesOdBM2/H0Dni07WsAXU8JIs8+cfu2\nPyQWf9VH0UEU31EpPL4WzQnJ0BfWavl692RPim9hRepBLbx0ESqCSp+UbLxzWS/s8vvyhjDIY16b\n7+GeaXlHFHRHGbIRcvAY6BcDxgZcTgOwA73a3eny0OlI0vkCM1Onu3Mr6wv77SpvShTWteypZKfO\nPiFxxloT69amTFrGLQtFHmfgp2+ptpSTxYlXLThvXBRIgUmMhixcT+owPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ67ZRVPN74C94yJpe/DCI14AQL/CM+H6VNe6sFy5mIqQj7Q==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlAGReplica as $MSFT_SqlAGReplica1ref { AvailabilityGroupName = "AG1"; ServerName = "SEC1N2"; Name = "SEC1N2"; 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"; }; |