MOF/DAC1N1.mof
/*
@TargetNode='DAC1N1' @GeneratedBy=cody @GenerationDate=10/29/2018 19:26:57 @GenerationHost=THINKY */ instance of MSFT_TimeZone as $MSFT_TimeZone1ref { ResourceID = "[TimeZone]TimeZone"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::46::9::TimeZone"; TimeZone = "W. Australia Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.0.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog1ref { ResourceID = "[xWinEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Operational"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::7::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog2ref { ResourceID = "[xWinEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Analytic"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::12::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog3ref { ResourceID = "[xWinEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Debug"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::18::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource1ref { ResourceID = "[Registry]DisableNegativeCacheTtl::[ooRegistry]SetRegistry"; ValueName = "MaxNegativeCacheTtl"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dnscache\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::3::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource2ref { ResourceID = "[Registry]DisableMachineAccountPasswordChange::[ooRegistry]SetRegistry"; ValueName = "DisablePasswordChange"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Netlogon\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::12::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of xRemoteDesktopAdmin as $xRemoteDesktopAdmin1ref { ResourceID = "[xRemoteDesktopAdmin]EnableRemoteDesktopService::[ooRemoteDesktop]EnableRemoteDesktop"; UserAuthentication = "NonSecure"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::6::5::xRemoteDesktopAdmin"; ModuleName = "xRemoteDesktopAdmin"; ModuleVersion = "1.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall1ref { ResourceID = "[Firewall]EnableFPSICMP4ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP4-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall2ref { ResourceID = "[Firewall]EnableFPSICMP6ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP6-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall3ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInTCP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-TCP"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall4ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInUDP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-UDP"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_ScriptResource as $MSFT_ScriptResource1ref { ResourceID = "[Script]EnableFileAndPrinterSharing::[ooRemoteDesktop]EnableRemoteDesktop"; GetScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n @{ Result = \"false\"; }\n } else {\n @{ Result = \"true\"; }\n }\n "; TestScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n $false\n } else {\n $true\n }\n "; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::22::5::Script"; SetScript = "\n Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' } | Set-NetFirewallRule -Enabled True\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref { ResourceID = "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory"; Type = "Directory"; Ensure = "Present"; DestinationPath = "C:\\Temp"; ModuleName = "PSDesiredStateConfiguration"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::5::5::File"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xFileSystemAccessRule as $MSFT_xFileSystemAccessRule1ref { ResourceID = "[xFileSystemAccessRule]GrantAccessToTempDirectory::[ooTemp]CreateTempDirectory"; Path = "C:\\Temp"; Rights = { "FullControl" }; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::11::5::xFileSystemAccessRule"; Identity = "EVERYONE"; ModuleName = "xSystemSecurity"; ModuleVersion = "1.4.0.0"; DependsOn = { "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName1ref { ResourceID = "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"; MacAddress = "00-03-46-12-e0-4e"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "DALLAS"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress1ref { ResourceID = "[IPAddress]SetIPAddressDALLAS::[ooNetwork]RenameNetworks"; InterfaceAlias = "DALLAS"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.2.11/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DefaultGatewayAddress as $MSFT_DefaultGatewayAddress1ref { ResourceID = "[DefaultGatewayAddress]SetDefaultGatewayAddressDALLAS::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\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]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress1ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressDALLAS::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::41::17::DnsServerAddress"; Address = { "10.0.0.1" }; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix1ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "DALLAS"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName2ref { ResourceID = "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetworks"; MacAddress = "00-03-14-ba-0e-1e"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "DALLAS_HB"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress2ref { ResourceID = "[IPAddress]SetIPAddressDALLAS_HB::[ooNetwork]RenameNetworks"; InterfaceAlias = "DALLAS_HB"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.12.11/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameDALLAS_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress2ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressDALLAS_HB::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\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]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix2ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixDALLAS_HB::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\GitProject\\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]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource1ref { ResourceID = "[WindowsFeature]Resource0::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::2::1::WindowsFeature"; Name = "RSAT-AD-Tools"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource2ref { ResourceID = "[WindowsFeature]Resource1::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::8::1::WindowsFeature"; Name = "RSAT-AD-PowerShell"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource3ref { ResourceID = "[WindowsFeature]Resource2::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::14::1::WindowsFeature"; Name = "RSAT-Clustering"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource4ref { ResourceID = "[WindowsFeature]Resource3::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::20::1::WindowsFeature"; Name = "RSAT-Clustering-CmdInterface"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource5ref { ResourceID = "[WindowsFeature]Resource4::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::26::1::WindowsFeature"; Name = "RSAT-DNS-Server"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource6ref { ResourceID = "[WindowsFeature]Resource5::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::32::1::WindowsFeature"; Name = "RSAT-RemoteAccess"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RoleResource as $MSFT_RoleResource7ref { ResourceID = "[WindowsFeature]Resource6::[WindowsFeatureSet]All"; Ensure = "Present"; SourceInfo = "::38::1::WindowsFeature"; Name = "Failover-Clustering"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential1ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAGDyYR/kjx3q1h/wf8Mj+5O51nHv0aAqe0bgLAHL0Yzw767ZtlFxHHyIZEXk\nrtRLs7Bt8QzFZjWYlYOhX0mzBS1pDEGfOZwKs2MQZ0aGl8PNWwM8NqrYsthvDXcmO6t2Qini86XR\n6f5X/kehsoOXocmocpCj9dQwWiftbBqK2u68wO9xQjocmv6VecwM+aATU8MXbqTjrrRtAHd2tJi0\nyMoZZKp7/3X6r5UOYX+rOXk0tPk7EF7MBQTzaCEIwbK/frkGIUz4MWlGE2S0VmZ65JsA298nMBPC\nh1uvhCTI9N+Iqv/AInF3s/V1+XE5TiVfbVk1Y6pA8y2F3xMIT7z3fwEwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQHAMMHbLxcWNTHBOrNZwU3IAQK0rFeCw/CiJg6dla6sBZZQ==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xWaitForADDomain as $MSFT_xWaitForADDomain1ref { ResourceID = "[xWaitForADDomain]Create"; DomainUserCredential = $MSFT_Credential1ref; RetryCount = 120; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::175::17::xWaitForADDomain"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; RetryIntervalSec = 15; ModuleVersion = "2.22.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential2ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAHSpzXi28I9PfNnVCxFai3xK7lfq8DmVswVsss9W09rLLhXTfaruFyYamHyO\nZDAn4lvKUyM4OXnHtDmqaEgwb0CvLv57KFX7l8YjK4fjXXxa+oLJzf/PxBZeRHcF0InqMNGceb1H\nmgpufhlyyXCn9ji20LH2xAFKNz2007nfdgltNL5LpxNZWGazc8R7hR9ngsWc6gJjx5JpvOzIFs1J\nFUfMnEeaaVypQD5xPPiUbIFC1kInl8/YcbqO8D1sw4eIilzATDZmCOVOFoiTbBXC9nfj/PTHGZjC\nj8Kv6bqr+fnO31hrgqwSo9OOBd/rGYYgBEpjIIRtP64Akt/U2fwvWFUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ5kRXCqdQxNo6vfxdZHpyTYAQ150oN715babr9dsYIaQlaA==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_Computer as $MSFT_Computer1ref { ResourceID = "[Computer]Rename"; Credential = $MSFT_Credential2ref; DomainName = "lab.com"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::185::17::Computer"; Name = "DAC1N1"; 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\nSIb3DQEBBzAABIIBAMuNt4+by5ydRTxn8MdHezizCxgPV0My2JYQcVOtTYTaDk5XPhAT1UMwie9Y\n22MYcgKMWqk+B9UatRywf8ZR2V5LVU0CjdG8aXVOID0vfsmSSM29lG+5s9l35lIrtN8tBJzLS/Sr\nI6JenjTIur3U8FvUh9mg6f/BbOy24dEAa0bsEbCk2f3MlSEmia42ohdKRO+PQvdKMGb28ipTJI4Z\nXeT8rmaYHF0KkmZ6s8IJpSqa8r9b7ZbiIT8jwQCUwtAJRbousslvN0HxhJlmUJ6BT3fxVFwIc+7J\nn1GpPVDztPRFwX7SQs/GzMVLIoQd7M/vsgrb06DjWloRA1afSf1xRq4wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQbgx7T9vRwaXyXkRNnm5/7YAQX4NQQPToA3ryPPMP5uP1vA==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll1ref { ResourceID = "[WaitForAll]CreateLocalAdministrator"; PsDscRunAsCredential = $MSFT_Credential3ref; NodeName = { "CHDC01" }; RetryCount = 120; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::194::17::WaitForAll"; ResourceName = "[xADUser]CreateLocalAdministrator"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "0.0"; DependsOn = { "[Computer]Rename"}; ConfigurationName = "OftenOn"; }; instance of MSFT_GroupResource as $MSFT_GroupResource1ref { ResourceID = "[Group]AddLocalAdministratorToAdministratorsGroup"; MembersToInclude = { "LAB\\LocalAdministrator" }; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::208::17::Group"; GroupName = "Administrators"; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; DependsOn = { "[WaitForAll]CreateLocalAdministrator"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential4ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAD+iS9Ya6WXD4+ck9FYxT9Edb9n6yOdTBX888giCR9zl/LFcifP57+I/Mvez\n2U1oxJyoRhkO18Hc/Ycqk+1XdeqK28uxj+ZNiSS9dic5pMcF7U2zS64cPwcsKG714JWCtrYRFrdu\nrKjN8YU5J/ao6HM4M3Safu47a/LhX19rJVpFktM6qpHVLqtWl12QU2vPOoPmJkegepIG/PTIRCAD\n5QA6tprLhO4vT8fMy5yDM/+eL6b5Emyn5Jap4Ib73JMV9FmcEJDYbUw/98u1/l/V87apHJ48Bmnm\nTz2Z3+eo+KQvbtEEb+ajPGXfwHZKdIcNmo9TCOUIXUOSYgE54R4f1OswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ8zGT0re6aNEpglY6Pr0gwYAQo+v9Spqqxm8DHB1soVcKuA==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll2ref { ResourceID = "[WaitForAll]WaitForClusterC1"; PsDscRunAsCredential = $MSFT_Credential4ref; NodeName = { "SEC1N3" }; RetryCount = 120; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::237::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\nSIb3DQEBBzAABIIBAEQ83MCxzUr+cfGk3DFm+SI1Npjfgd/wgOrhdON4RIMkrM8DAA04EdYxDf3O\ntwcb3aiVnjJFFls21vDj+868bkETiFxSAbDl/wo9Eo3Zu976JuGFi66tuG+G1QmDE7cGrz7s09FI\nTxxAyEDnmQVR1nT8Eu+J9XTy7mtPcvN2kR7U5t7asHb2k+5mLJYhWVXJjCpioewslW40S0bZcDR9\naR4k8pp9m2j/pPNdRj89oXT4eNWjOs00WXLUCw+m4H9y+zeEQtOGmXwJlzfnC2GQe1D61Gnb7flV\nVOC5uZIMcL1ZZGL7SwJulLr/qTBaznUaTvkfRJtUK+C78DmeUK2L2pUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQuAZLHc4O0+EMwlyX2DcohIAQLosr/ApBOubKDo41Z7XFxA==\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:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::250::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:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::260::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:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::294::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:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::303::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\nSIb3DQEBBzAABIIBABOWVGjM2YvVqiG96CYN0/LuKuEKQwWKTUbfkDVBnB6DQ3Va5OTzLdVArT+I\nvGDktkT6UNrdO/VAlEduoYY27J31TdAimuK1nN2w7ABeQ8LoTZIGK3kRZbIID9GOs1HwI8TOxcNC\nG+Nf5ZEohkv/5lcqyeuF5nEkZQop6REEYBZbd8OURFz+dOoNXUv5LnmP3OoJMCiAtg0yQhfyd6+e\nmkhDFOLILzQwomkffjEnr4nWghiqJav7NI84IiJcYd0kXBwzTW/D4ByRV9xDh4iwIzth5sDStsmw\nLTUrvEonKXwlhElKQlq7IW1PzXqWrC44OeBLkfApmiAtg3oaF9WG63EwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ08/z3HOnxFD/B5JF30SrmIAQchrQI7Hq30Tlsoo3WONvDw==\n-----END CMS-----"; UserName = "LAB\\SQLEngineService"; }; instance of MSFT_SqlSetup as $MSFT_SqlSetup1ref { ResourceID = "[SqlSetup]InstallSQLServer"; Action = "Install"; SQLSvcAccount = $MSFT_Credential6ref; InstanceName = "MSSQLSERVER"; UpdateEnabled = "False"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::318::17::SqlSetup"; Features = "SQLENGINE,REPLICATION,FULLTEXT,SSMS,ADV_SSMS"; ModuleName = "SqlServerDsc"; SQLSysAdminAccounts = { "LAB\\LocalAdministrator" }; ModuleVersion = "12.1.0.0"; SourcePath = "\\\\CHDC01\\Resources\\SQLServer2012"; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_SqlWindowsFirewall as $MSFT_SqlWindowsFirewall1ref { ResourceID = "[SqlWindowsFirewall]AddFirewallRuleSQL"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::330::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 = "DAC1N1"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::339::17::SqlAlwaysOnService"; ModuleName = "SqlServerDsc"; ModuleVersion = "12.1.0.0"; DependsOn = { "[SqlWindowsFirewall]AddFirewallRuleSQL"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential7ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBADuxtKdXyiG3nnV5YMtpn9mSN0tvS31JqVxXAbinFjyQMZBxFNJr1fKQpRhP\nvhHzGf5sAJXhnGekSOJUoWdlg50RJ4GToo2C8aEZ9Huc/YFsCs87J/vWMohXoPS74QfwxwcRNG/a\ngq8/c0a6UyHsg2HpNaPeVGWvdBEaf/iLOWH3iXlfW/txwfaDyb9oL1LmQW/NUoFbeRmeD3n5MGB5\nVEIJB9PXmkDZOXsD+i+KlD7qyfwawrDBeA6zcbDsuxvXn9wCZRlZfUwUykVwWm73bnVBODxoIWOC\nIHX+GM8ngpp1F0GG2HRj6rytvT1f3DDk1pmhE/SZOZsmA2hiupuQZUIwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ+3+yfkwIujatbgkQ/FEVz4AQgssfHIYjJtMQYF1o60ot1g==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerLogin as $MSFT_SqlServerLogin1ref { ResourceID = "[SqlServerLogin]CreateLoginForAG"; PsDscRunAsCredential = $MSFT_Credential7ref; ServerName = "DAC1N1"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::347::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 = "DAC1N1"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::358::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_Credential8ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBALMG6EJjnuRAQtwP1HN2MLeRCrLnf2A+hA+uMmkgsfHqFYcUU8C0Wp0cU/qM\nqixEYq6HKSP3WEg+UtblxKyt4ZuCJwOLFDnR+onWMsXyTUufxnIVicI8aJaLmvwaOTviQFHNYMsZ\neyxrK6KUJMTM01K6LK1yyRvQdd7K+/ZUq9+U4afAAdHo1eLFiKTCwZGTjHjlXiHz+nkkoarRzc4V\naBzjhlb8brnMuW/QYfNNUquaNnEvdFe1+p1jEszFtMFx5RG+/DMzMwe9LeJsEYsCrY4ZSHiqvY3w\nmWlSZENPqSDyxrdDt+Q3tdQfdWmZteZ8FVKAiTw6bhdY3w7HjgDqVIgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQvRkEhn0MmxvOG/PaEiV2d4AQ4PTOEP/EFIhFFYp0PdfLiQ==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerEndpointPermission as $MSFT_SqlServerEndpointPermission1ref { ResourceID = "[SqlServerEndpointPermission]AddLoginForAGEndpointPermission"; Permission = "CONNECT"; PsDscRunAsCredential = $MSFT_Credential8ref; ServerName = "DAC1N1"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::369::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_Credential9ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAE/l+EjmNLt+MIhfN+q3E9lfLqceMVpHMZci9aUNuLoJ7cNvJM0hIVFfignq\nc8r0S8VlCUm8siB9IAfdoxN31FNRkULIcw4eZaGd6uu6RB1TymVdqfCPZ+DOHxWKjs2KfHFJbnK7\n88NgvXKJn9mfeXCBlKkr/yNWnEzlcpbcZhnpnPrimcgT2uejLyQfHhOaX/B05uEbftYkkQ5STg62\nrSg5SqcEbJ7eXcKDMYG9Axkuub4SWHGkFpTsWQBFkQQr++ekZnT+wrnU6cqI29w7jenIJEam4qAn\nqz4XxXFLAkHVk5OoPtsXjeUFs7Glseu0OKgLAclMtFmtmCCcKSgcmnowPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQfISoG/SLXUoIOr3DVRY1p4AQ1sh64TPji8t7ekKgqj2L8Q==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerPermission as $MSFT_SqlServerPermission1ref { ResourceID = "[SqlServerPermission]AddPermissionsForAGMembership"; Permission = { "AlterAnyAvailabilityGroup", "ViewServerState" }; PsDscRunAsCredential = $MSFT_Credential9ref; ServerName = "DAC1N1"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::382::17::SqlServerPermission"; ModuleName = "SqlServerDsc"; Principal = "NT AUTHORITY\\SYSTEM"; ModuleVersion = "12.1.0.0"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential10ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAE8WWG83xUkbRfe8UEpPlN9whXOy5zwH9Lf3XxqJJI0ePXGn1+q+UihmLbml\nNU+uox7WWnLee0MyoQIxRMdTUpqb3MhE5U8E+vCMNixqIWZDNMK1FBX6JPEuEn57E3C/52A2JXyG\n3qkzZHoXMYiy/0kEA0AqZb43jgSkO5tj5bXX8ufc6sAh7y03/pCQ+g3rOr+wlBmp0+0mfkvj17xo\nYClCpTGO1/5CoFS1wPEyisjO+KWtDh3q/Vtv3rjksUwIzGFMQFLuiaJ6Gi9+/D+zkrx3khSqhfjK\nbIfeuGMD9VpC52P4E/JLKvQWLAhLHI/gph6ZokRxsqbtGPBbYGerzQUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQHF2lVH7wTwHibnf1GOZJgYAQdDZV/+dGRNtplLDD/DNrZw==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll3ref { ResourceID = "[WaitForAll]WaitForAG1L"; PsDscRunAsCredential = $MSFT_Credential10ref; NodeName = { "SEC1N1" }; RetryCount = 120; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::492::25::WaitForAll"; ResourceName = "[SqlAGListener]CreateListenerAG1L"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential11ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAE3cMSsePMdMaTO/DUdG2F1JAVwx+YUx7rMg4kaavYSqS/d7YAY4HzHZajaY\nC4xFG3+EycyPAGDAXspuGw5z9m1xNaVXcy0bqVs8yqs4fNbw2l4dOdXXOc/ZfvV762ssit5CxSSf\n9y3sjCe5LECPFzktWOS5Ordw8dO4/mogRy/8vu5WCR7R6wbtXQgEoFaW4P8FofmdCOKHjN2CZkHN\nsOu3h7S84zA4IoSc0rcSXYheQI6OmTBgTKOed8kxb8vAzKKltfspMhryNHO4VEVF9mWWmIwKuVL/\n//7CdLI8g+q37L7r03TRiCTWL9D6UqboGaGPVnpbd9Lb5PxjONMQ8zgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ9gbPeumwpT9KloNnOsaKBIAQ4Thyokxlo2KdhUIeuWqYYQ==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlAGReplica as $MSFT_SqlAGReplica1ref { AvailabilityGroupName = "AG1"; ServerName = "DAC1N1"; Name = "DAC1N1"; PrimaryReplicaServerName = "SEC1N1"; ConnectionModeInSecondaryRole = "AllowAllConnections"; FailoverMode = "Automatic"; PsDscRunAsCredential = $MSFT_Credential11ref; ResourceID = "[SqlAGReplica]AddReplicaToAvailabilityGroupAG1"; Ensure = "Present"; ConnectionModeInPrimaryRole = "AllowAllConnections"; InstanceName = "MSSQLSERVER"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::501::25::SqlAGReplica"; AvailabilityMode = "SynchronousCommit"; 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="10/29/2018 19:26:57"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |