MOF/SEC1N3.mof
/*
@TargetNode='SEC1N3' @GeneratedBy=cody @GenerationDate=04/04/2019 12:20:06 @GenerationHost=THINKY */ instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog1ref { ResourceID = "[WindowsEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Operational"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::7::5::WindowsEventLog"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.3.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog2ref { ResourceID = "[WindowsEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Analytic"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::12::5::WindowsEventLog"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.3.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog3ref { ResourceID = "[WindowsEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Debug"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::18::5::WindowsEventLog"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.3.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_TimeZone as $MSFT_TimeZone1ref { ResourceID = "[TimeZone]SetTimeZone"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::54::9::TimeZone"; TimeZone = "W. Australia Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.3.0.0"; DependsOn = { "[WindowsEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog", "[WindowsEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog", "[WindowsEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource1ref { ResourceID = "[Registry]DisableNegativeCacheTtl::[ooRegistry]SetRegistry"; ValueName = "MaxNegativeCacheTtl"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dnscache\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::3::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource2ref { ResourceID = "[Registry]DisableMachineAccountPasswordChange::[ooRegistry]SetRegistry"; ValueName = "DisablePasswordChange"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Netlogon\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::12::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource3ref { ResourceID = "[Registry]DisableInternetExplorerEnhancedSecurityConfigurationAdmin::[ooRegistry]SetRegistry"; ValueName = "IsInstalled"; Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::21::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource4ref { ResourceID = "[Registry]DisableInternetExplorerEnhancedSecurityConfigurationUser::[ooRegistry]SetRegistry"; ValueName = "IsInstalled"; Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::29::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource5ref { ResourceID = "[Registry]DisableInternetExplorerFirstRun::[ooRegistry]SetRegistry"; ValueName = "DisableFirstRunCustomize"; Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Internet Explorer\\Main"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::37::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of xRemoteDesktopAdmin as $xRemoteDesktopAdmin1ref { ResourceID = "[xRemoteDesktopAdmin]EnableRemoteDesktopService::[ooRemoteDesktop]EnableRemoteDesktop"; UserAuthentication = "NonSecure"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::6::5::xRemoteDesktopAdmin"; ModuleName = "xRemoteDesktopAdmin"; ModuleVersion = "1.1.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall1ref { ResourceID = "[Firewall]EnableFPSICMP4ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP4-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.1.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall2ref { ResourceID = "[Firewall]EnableFPSICMP6ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP6-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.1.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall3ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInTCP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-TCP"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.1.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall4ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInUDP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-UDP"; ModuleName = "NetworkingDsc"; ModuleVersion = "7.1.0.0"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_ScriptResource as $MSFT_ScriptResource1ref { ResourceID = "[Script]EnableFileAndPrinterSharing::[ooRemoteDesktop]EnableRemoteDesktop"; GetScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n @{ Result = \"false\"; }\n } else {\n @{ Result = \"true\"; }\n }\n "; TestScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n $false\n } else {\n $true\n }\n "; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::22::5::Script"; SetScript = "\n Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' } | Set-NetFirewallRule -Enabled True\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref { ResourceID = "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory"; Type = "Directory"; Ensure = "Present"; DestinationPath = "C:\\Temp"; ModuleName = "PSDesiredStateConfiguration"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::5::5::File"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xFileSystemAccessRule as $MSFT_xFileSystemAccessRule1ref { ResourceID = "[xFileSystemAccessRule]GrantAccessToTempDirectory::[ooTemp]CreateTempDirectory"; Path = "C:\\Temp"; Rights = { "FullControl" }; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::11::5::xFileSystemAccessRule"; Identity = "EVERYONE"; ModuleName = "xSystemSecurity"; ModuleVersion = "1.4.0.0"; DependsOn = { "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory", "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName1ref { ResourceID = "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork"; MacAddress = "00-03-c8-a4-56-90"; ModuleVersion = "7.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.13/24" }; ModuleVersion = "7.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 = "7.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 = "7.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 = "7.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-4e-0b-96-63"; ModuleVersion = "7.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.13/24" }; ModuleVersion = "7.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 = "7.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 = "7.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 = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource2ref { ResourceID = "[WindowsFeature]Resource1::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::8::1::WindowsFeature"; Name = "RSAT-AD-PowerShell"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource3ref { ResourceID = "[WindowsFeature]Resource2::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::14::1::WindowsFeature"; Name = "RSAT-Clustering"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource4ref { ResourceID = "[WindowsFeature]Resource3::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::20::1::WindowsFeature"; Name = "RSAT-Clustering-CmdInterface"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource5ref { ResourceID = "[WindowsFeature]Resource4::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::26::1::WindowsFeature"; Name = "RSAT-DNS-Server"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource6ref { ResourceID = "[WindowsFeature]Resource5::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::32::1::WindowsFeature"; Name = "RSAT-RemoteAccess"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource7ref { ResourceID = "[WindowsFeature]Resource6::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::38::1::WindowsFeature"; Name = "Failover-Clustering"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[TimeZone]SetTimeZone"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential1ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBANQUyd69kk6XUAgHNPm+xKOScxmmB9H8L42o9pHygDhaM/8kkPXBRMtzCx92\nDSO79g8A8RvO7wkF2bzVOXT95y/TbqnAcvGNjj5WII2qDwKQmNTgB9Q8CLQ8f8/G+HAuM0eRoti6\ntLu3QrchnSDA3uB97NgoGqHKSvROIugTm3Pneh+DI2DNX+Jn/RjGe0/awyjGkVbKgXJsxQWUb9ii\n/AY6bj/OCw4fhjZMNArSSFCM7doDhAnYdL45zowyOsMcplE5tqwOHEzXxi1UI0bqii1EBtM0Zt8+\nug2lrnmZWAc0tUCgi1VvWQwp0Nbp8tIHfsmb60coFFR0SjfX+du8aEgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQyn9Dzg6OaExVo8NblBbSvYAQ0PSHGFh/MD6gVTXHYwF35A==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xWaitForADDomain as $MSFT_xWaitForADDomain1ref { ResourceID = "[xWaitForADDomain]Create"; DomainUserCredential = $MSFT_Credential1ref; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::232::17::xWaitForADDomain"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; RetryIntervalSec = 15; ModuleVersion = "2.25.0.0"; DependsOn = { "[NetAdapterName]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\nSIb3DQEBBzAABIIBADe4k9Kw8WbkKn2Kd1M17BN0zbXXcUgBARS4dofIi37mRfTH/5aJyBA09Kpr\nAVqOMn9KCedyepWJz9+kiz+kcOy4IWMDfHd5ngRH5Ns0Zc5+dwjh6Lt6kxEQRHdAgk5r5zA6MVNc\nnKqJQkkUNDN07fXUs2WgMT2IZu44GPbY3ggOCJw+OlGfXRegkc6Wm5JChkX9hl1F8YPwePRYv6ne\na7uVjZFR8HpgH1FbIycDnaW7xs9yrHbq3MzYAdK+2no+Muc/fLwSXTJUXEQslN72kA65KK47pdhr\nA0vcZZ27ziYZ0LszAQ8d3nc9A+PEN3tLvFiMPwhTdf1BDC9ENsERyq4wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQQ0cI0N2o4JtbxToRZLA5tIAQbbliElGheAEQztvD2IL5MQ==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_Computer as $MSFT_Computer1ref { ResourceID = "[Computer]Rename"; Credential = $MSFT_Credential2ref; DomainName = "lab.com"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::244::17::Computer"; Name = "SEC1N3"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.3.0.0"; DependsOn = { "[xWaitForADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential3ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAIqNaTk+KLwUzqdfPqXSetXaeC5DAv+WzlGjgMkPwoA7II36DWMU1GwzLvYf\naCoT1ko+hI5IecFQMwOlixxIQgeuQpUeL6t+cU4/QKxEtYJyHqI5gV7R1vPUu2y5prj7LXaT34I2\nJCsgCHsDIHTyo+obeyasKww2v3Cy23pf4VW9KDbxsqrFWcxtmlQO4tgV/vOzgx6WkFCIr8fV+GzX\ntngEX94BIbEBJBu2+o7YYoecTWdnR7tRM9r8JfGqv14RsPclFwoSRz1sI/em1vpi6wWJMPNPOGxE\nCDLIWmlZFf8fx/4VfdlO3J2tALhZtlagd9FosbU8G915xbw4ZlE1HT4wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQJQ53YNzunW4sJbJHWlcb/IAQPq2npKeFTgW0QBt6hqgBEA==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll1ref { ResourceID = "[WaitForAll]CreateLocalAdministrator"; PsDscRunAsCredential = $MSFT_Credential3ref; NodeName = { "CHDC01" }; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::253::17::WaitForAll"; ResourceName = "[xADUser]CreateLocalAdministrator"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "1.1"; DependsOn = { "[Computer]Rename"}; ConfigurationName = "OftenOn"; }; instance of MSFT_GroupResource as $MSFT_GroupResource1ref { ResourceID = "[Group]AddLocalAdministratorToAdministratorsGroup"; MembersToInclude = { "LAB\\LocalAdministrator" }; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::267::17::Group"; GroupName = "Administrators"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "1.1"; DependsOn = { "[WaitForAll]CreateLocalAdministrator"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential4ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBABsfBriT3s2OKJe6xFOd4OWIFWlcsdY0IBrkQASAVVypBZohvwVm/2pktGal\n+aljlsccOIPlPwc8A2Y7PLDTfUV1/Zv4u4/3z+KmmsFLpwoSi4irPhjGO8wxN2BY+fk9THRJzZwl\nfvD4bEzmEJTq1zniuLlfD4Y/DW82+yj9uknBEH7pgjMf4JXFxWWdNxvoC4+iDf4DyRA7JLpDs7gv\nu/CRvzSGu0tW0QQ+DXgpUKt7FeibJpgtevrX6PEj7iW2evDWvbyf1NUkvjSHRzDdLe41Ciut66Ff\nGXEuTWqT6mRVYJCKgG8uxT42VvJ/ysYK+y1MwMnQE3fXRIZcR64Ces8wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQdmFw3OCSUKl3VQ0Zu1jk54AQcu52MoGWqNDgL4NsyV1BRg==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll2ref { ResourceID = "[WaitForAll]WaitForClusterC1"; PsDscRunAsCredential = $MSFT_Credential4ref; NodeName = { "SEC1N2" }; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::296::21::WaitForAll"; ResourceName = "[xCluster]AddNodeToClusterC1"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "1.1"; 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\nSIb3DQEBBzAABIIBAGOMq6+2MX/3ZO1aZ8/vTGPw1UvBa6WJ+Fa2uAQOjR9nbpw3jXcaDfww+R4V\n9LDwtIb2lqx5MDxbaKjkujGafCcDoWtdb8RNDCItVG/F1bHuD8BqW46l7QhfFhqQxi8wvma28mEt\n/h/5z6PCx0EDti/dlERdYRl0Fru81xlIOYT9nppKyStf5nNvsP788kKYj2lDQr4RzFgNzHb+VtUn\nztQXX5l+V0WVq/TLLwGlKEz475pTB8N32nLVksTehAkw+PCbB/6Hnf7GZ2qvbk8D3S7SW7FDVXvq\ncSsI8nX3VeYD6IUDtjl9KKruSv/yZwNlCnIuojNfXy7LQjcX6/GCVGUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQTRwKjtwqCtOfcj5RjBxCz4AQW6xDtreDXHfUdJO/ZLFgJQ==\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::309::21::xCluster"; Name = "C1"; ModuleName = "xFailOverCluster"; ModuleVersion = "1.12.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::319::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 = "1.1"; 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::353::17::xClusterNetwork"; Name = "Cluster Network SEATTLE (Client)"; Address = "10.0.1.0"; ModuleName = "xFailOverCluster"; ModuleVersion = "1.12.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::362::17::xClusterNetwork"; Name = "Cluster Network SEATTLE_HB (Heartbeat)"; Address = "10.0.11.0"; ModuleName = "xFailOverCluster"; ModuleVersion = "1.12.0.0"; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential6ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAIZrvNBJAyMISEjUeaPihtKtHeiXiWAMmCwuPlwmKFYmtuo0jPznTu/Lw8LZ\nvA0mKanOFYPK8W2kCxoB8LxxudJ6osuDVhNTgxQUvLsZDeDdhkgt1NNNb4GrYoOWfQwh7V8oHYaY\nvhr0XuwQSJFbh7LcINNkWpQ1OESXb8fzKHdY8JmASyU04GRvhcGz4IzNSd6TPkeYxLV9qsL2zODZ\nsHiJgCCShbr/lK2/d5DBCsFDczL38tC2Uw17ixdavXQB1DqiSyGX3qa/cCzy/7tvMDvlMGV7DouL\nnQFUiPJKJEp6uMccMYf1yepf0/UfNwatTd+obDwizi6RsS8DyTh3KDgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQCqpHsV5ADXq2wSdH7CZBMYAQSRphOu7dziwOcDZqMbFjrw==\n-----END CMS-----"; UserName = "LAB\\SQLEngineService"; }; instance of MSFT_Credential as $MSFT_Credential7ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAID6s9QwmoY5NxlC2JrcA+17GK0W8asqFxAB6+IAseZfl4pjc/1Uqe+y4OtT\nF0Huokv23DtFc+fAJ5+DYOKZwCz4/4Dggj78/XkF6lnaAJGRvri5QmAnY2FJblQYQvESoOPFQGh0\nZcVBDY8nLVa2lDB/5/zA5LX61JTs3Jwqj2ZHuvg+YGj0ZhKdxqQA06V+LV0gnQ4CuyALvvudIkQQ\nYUudOeAjtSc3JSkkBjVAJ3dh+x7Ibhn7Mi4bf7Qi9IcLAm1o2iqSLvt9oMNoskCApiTM8qhgmypW\nIYb4gonmKQMsmCALEDplg9NL4b02XACNQCU+t/4fAvtp5v996tWcr8IwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ8y4x6XhDuIzG8I2+n+TNwoAQsSu94KREUpA1+Mp3g5JgRg==\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::377::17::SqlSetup"; SQLSysAdminAccounts = { "LAB\\LocalAdministrator" }; SourcePath = "\\\\CHDC01\\Resources\\SQLServer2012"; SQLSvcAccount = $MSFT_Credential6ref; ModuleVersion = "12.3.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::391::17::SqlWindowsFirewall"; Features = "SQLENGINE,REPLICATION,FULLTEXT,SSMS,ADV_SSMS"; ModuleName = "SqlServerDsc"; ModuleVersion = "12.3.0.0"; SourcePath = "\\\\CHDC01\\Resources\\SQLServer2012"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_SqlAlwaysOnService as $MSFT_SqlAlwaysOnService1ref { ResourceID = "[SqlAlwaysOnService]EnableAlwaysOn"; ServerName = "SEC1N3"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::400::17::SqlAlwaysOnService"; ModuleName = "SqlServerDsc"; ModuleVersion = "12.3.0.0"; DependsOn = { "[SqlWindowsFirewall]AddFirewallRuleSQL"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential8ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBADf4QBRFH5RsXI9QW6A9gPnvcaGB9hQk5ystHokuZ8plOh9eF27xEe73+uNF\nkPWJULWCIrLr4fuvADi2zLbe1m6zAtGOkWqVzgVLvCMgNjl6wAlGMUPUG1e+Q8IeWBLKfuq7185K\nDSQzE10B7vPSubq76aKnFC7C/8vQK6NFaj58CreR5luiIjmQlwzJFHSLt0FqpmJSgcKz3bSC2xkH\nAXIm8IQ8dbVKQ2XBBiygp+H1boH2EKeo3ChKCKn4eN+RFxn6inCPufOpqT8+ucRXLGX+8aqIWDdH\nmIRc5Dkglhle/KhQj928K424p0ytw/tbB2+iP1duYr6yWmUTcE2zT7YwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQeiaZpTYaTh/swynORDs2IYAQxHJomeAfzZRgKc4EwchJRQ==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerLogin as $MSFT_SqlServerLogin1ref { ResourceID = "[SqlServerLogin]CreateLoginForAG"; PsDscRunAsCredential = $MSFT_Credential8ref; ServerName = "SEC1N3"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::408::17::SqlServerLogin"; Name = "LAB\\SQLEngineService"; ModuleName = "SqlServerDsc"; ModuleVersion = "12.3.0.0"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_SqlServerEndpoint as $MSFT_SqlServerEndpoint1ref { ResourceID = "[SqlServerEndpoint]CreateHadrEndpoint"; ServerName = "SEC1N3"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::419::17::SqlServerEndpoint"; EndpointName = "Hadr_endpoint"; ModuleName = "SqlServerDsc"; Port = 5022; ModuleVersion = "12.3.0.0"; DependsOn = { "[SqlAlwaysOnService]EnableAlwaysOn"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential9ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAIlLDquGgU/a+SqYs2ADiRBxPl7VAFzTLkpAnAxIBCjidkU1HPyxgUj5F2dY\nbyc1WyfHeSR6jN11F416UtU09CO0kRpW5jm5L/s5HCSJmnsE9k9X4DjTYanKSf/obJwiDDF6JHgt\ncIqucDlBxQWSKpwuBaQvAIIG1FarGOnXq0+a9sfFGxDKopkN/MGxpX9WMxEASDU4w/44nmT8LkKx\nZTm8t0k3FcMjS5aOwOZ/PVLRAdfJw7CzPt7QrNCHTl76D5WJzwSbILyU0iKa+7xpkaHnhV3VAMYM\nCggwFoh0m+hB+n0Pyi+LvGbYkmKQeKj7yeduhKjnO2CzRQ8vfVrgq+swPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQs+Y8hR35yzufKlPh0RLarYAQwCrWyPaRdDs5E1QVHeeHfA==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerEndpointPermission as $MSFT_SqlServerEndpointPermission1ref { ResourceID = "[SqlServerEndpointPermission]AddLoginForAGEndpointPermission"; Permission = "CONNECT"; PsDscRunAsCredential = $MSFT_Credential9ref; ServerName = "SEC1N3"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::430::17::SqlServerEndpointPermission"; Name = "Hadr_endpoint"; ModuleName = "SqlServerDsc"; Principal = "LAB\\SQLEngineService"; ModuleVersion = "12.3.0.0"; DependsOn = { "[SqlServerEndpoint]CreateHadrEndpoint", "[SqlServerLogin]CreateLoginForAG"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential10ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBACHJyDGDaAROTEq+mjOKNgOfoQhZt240jQ/QMzF0VBgUXmI5jwWAh3iLnWXo\nWk1e4yvsIexxE4h+69TSoNeN4ZTKIDQK8FkRvzQUxxF/hmST9tYa0Dpx2mqXtUnqadIVhq6YUWb5\nxrpycjDnT38pHvF624Gm8cMpTmC1LBaO0yS1ZSTMtkK2Nj84bBZIOG8TuDhZ8EwPK24cUHcDsF8h\n71ORCP2fgTP6qjIIk9pBmSdxV2UCFaSgleD7BsUzlKdWDqHZMIf7XhSCTuBczL5v98kereHSFOul\niRu40Uozc8nYYSzTDC15NRjaalQBuXFoX/CPom6/jP1iVcXW15tP7JkwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQPuu0CCl3t772HzWdjZh964AQbq0Lw63q/I3kqKvBDl0XEQ==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerPermission as $MSFT_SqlServerPermission1ref { ResourceID = "[SqlServerPermission]AddPermissionsForAGMembership"; Permission = { "AlterAnyAvailabilityGroup", "ViewServerState" }; PsDscRunAsCredential = $MSFT_Credential10ref; ServerName = "SEC1N3"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::443::17::SqlServerPermission"; ModuleName = "SqlServerDsc"; Principal = "NT AUTHORITY\\SYSTEM"; ModuleVersion = "12.3.0.0"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential11ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAGviBmxHpLv4UFH1EsRJO+HvcqDCUV2m4vrJnfDLeR+fbcAlGV0HaxbFdGSw\n90E0DOjlqVVlG8yEBxI7FSEunv24CkoayoKnwTZ4dXcHAhe2EG+xbuczycQtFgSdOB/LmkVQKlbw\nrIZ+HAEJ1P6LJHtwW9yMSsM7OrsEXUEwq+Rjf6RRzWqsia4ZbUmYNAdDxW52/j02JaJ33XqI7zOz\nvvkW1S/Uw8y0WfvdFIALCvaxd0SVyXrRE7IEkoK6ExeT+BUQW/sEKauJ243hTuk30BPeL14oOsV/\n5B+NiqIZ7BkyUeQD0gewmePIlMoTifiMq7rgbC7dFYcXZrKYHRK02TYwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQUpzlJYmdlNvVGFZOuMz8F4AQRPpKRGqKBY/JL7fdXdwHfg==\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::553::25::WaitForAll"; ResourceName = "[SqlAGListener]CreateListenerAG1L"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "1.1"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential12ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAA8/DZo90NNUAryBeYQEs+pxMzr5VX+x18cm2s9NoRrOpvRGH5e18gPFvuRJ\n/vVFIBXMoWUU1TMYCj9kEo4hGcYExpvEcrfZPphhA7imqbzGeNwHmmERs4Bynk6Km5DlAeY6DhYe\nzHIRU6uYG1yHLsZ6rN/SWcAYi7UDEm0sEiPvABs5bugzhdG6HDHztg6cR2MNmdL+4+PTc1cz7gYD\nneAByBzWuXKeo92AiackGRmYqd1gF5C/M5rv+wnBjNMDWjxgAxnnAwtxLYkFt6VvW9pu86GpTjiw\neuHXBDmNgjtny9d/pK2IH+lVRHQdwdkQ8WTkQn2z1kTnHZSiUs1AV94wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQE/23Gif7fF8sMH8FQxW3MoAQ62jJmE5carC105/n6qXryQ==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlAGReplica as $MSFT_SqlAGReplica1ref { AvailabilityGroupName = "AG1"; ServerName = "SEC1N3"; Name = "SEC1N3"; 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::562::25::SqlAGReplica"; AvailabilityMode = "AsynchronousCommit"; ModuleVersion = "12.3.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="04/04/2019 12:20:06"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |