MOF/DAC1N1.mof
/*
@TargetNode='DAC1N1' @GeneratedBy=cody @GenerationDate=10/29/2018 18:14:09 @GenerationHost=THINKY */ instance of MSFT_TimeZone as $MSFT_TimeZone1ref { ResourceID = "[TimeZone]TimeZone"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::46::9::TimeZone"; TimeZone = "W. Australia Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.0.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog1ref { ResourceID = "[xWinEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Operational"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::7::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog2ref { ResourceID = "[xWinEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Analytic"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::12::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog3ref { ResourceID = "[xWinEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Debug"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::18::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource1ref { ResourceID = "[Registry]DisableNegativeCacheTtl::[ooRegistry]SetRegistry"; ValueName = "MaxNegativeCacheTtl"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dnscache\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::3::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "0" }; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_RegistryResource as $MSFT_RegistryResource2ref { ResourceID = "[Registry]DisableMachineAccountPasswordChange::[ooRegistry]SetRegistry"; ValueName = "DisablePasswordChange"; Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Netlogon\\Parameters"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::12::5::Registry"; ValueType = "Dword"; ModuleName = "PSDesiredStateConfiguration"; ValueData = { "1" }; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of xRemoteDesktopAdmin as $xRemoteDesktopAdmin1ref { ResourceID = "[xRemoteDesktopAdmin]EnableRemoteDesktopService::[ooRemoteDesktop]EnableRemoteDesktop"; UserAuthentication = "NonSecure"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::6::5::xRemoteDesktopAdmin"; ModuleName = "xRemoteDesktopAdmin"; ModuleVersion = "1.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall1ref { ResourceID = "[Firewall]EnableFPSICMP4ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP4-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall2ref { ResourceID = "[Firewall]EnableFPSICMP6ERQIn::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "FPS-ICMP6-ERQ-In"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall3ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInTCP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-TCP"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Firewall as $MSFT_Firewall4ref { ResourceID = "[Firewall]EnableRemoteDesktopUserModeInUDP::[ooRemoteDesktop]EnableRemoteDesktop"; Enabled = "True"; Ensure = "Present"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall"; Name = "RemoteDesktop-UserMode-In-UDP"; ModuleName = "NetworkingDsc"; ModuleVersion = "6.1.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_ScriptResource as $MSFT_ScriptResource1ref { ResourceID = "[Script]EnableFileAndPrinterSharing::[ooRemoteDesktop]EnableRemoteDesktop"; GetScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n @{ Result = \"false\"; }\n } else {\n @{ Result = \"true\"; }\n }\n "; TestScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n $false\n } else {\n $true\n }\n "; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::22::5::Script"; SetScript = "\n Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' } | Set-NetFirewallRule -Enabled True\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref { ResourceID = "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory"; Type = "Directory"; Ensure = "Present"; DestinationPath = "C:\\Temp"; ModuleName = "PSDesiredStateConfiguration"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::5::5::File"; ModuleVersion = "0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xFileSystemAccessRule as $MSFT_xFileSystemAccessRule1ref { ResourceID = "[xFileSystemAccessRule]GrantAccessToTempDirectory::[ooTemp]CreateTempDirectory"; Path = "C:\\Temp"; Rights = { "FullControl" }; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::11::5::xFileSystemAccessRule"; Identity = "EVERYONE"; ModuleName = "xSystemSecurity"; ModuleVersion = "1.4.0.0"; DependsOn = { "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName1ref { ResourceID = "[NetAdapterName]RenameDALLAS::[ooNetwork]RenameNetworks"; MacAddress = "00-03-d3-47-e9-ed"; 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-d3-52-50-c8"; 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\nSIb3DQEBBzAABIIBAGiaTDf1jaUG9df3l4GJnot6lmU08Ce9OeBvXILnWIZAfMqJlfcP7cVdgYOT\nHBIhOfFkR1iWEKl6wTBbGf3VFHm1LIxl/i/dOIDnPJuvmBXwLYoqPDHExAPbnsF8EgYHm8w7WafA\neyqS3Ii0cgb3/ct1svnRCLLDD3u+CYMpL3ZDsp6DrJlZA/PodMXgF3HQD7GeUvfaUJjMQN0aeqcB\nTlbWwyVcK/NRe3MSbcBB/OQKiJBLZ7rllkFMnBe8rTb5vox03ij1gDS8JwzKvcQeHMCty7T0XdL6\n9oU1PxfQd1kN3U3Swqfad77n0T0MquyclB207q+5NT0o5C6tLvSx57IwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ13v5Blrp8UP57C7MIO/I/IAQsbczesH5OxkFhifIuHtM0w==\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\nSIb3DQEBBzAABIIBALHuH79mY4vsyiLpvNpkHO2aLlBe95aE5cjtXIxWJyH4JK2RYIIvV/OTcOkD\nQQQNSFaPP553NiiC3JIkpOZ75wvFW6HGiWoZWHq/1U9372TEm/ZNfbfkhGxQCBGtz6z1X/8c41G0\nGXt47pwe1SSEioZMTTOqlNK/ZQHqD96gtNPn8LafNvfHpDpIKC2fStkUxteXvpElPo2vXW51L8zJ\nQHuzykJPJokC+17ZQ/38zfqGWuOml4kMtIk0kN47WE0rvxQhqrAITSPvwDp6VkmPRIEUmMsX8zBc\nf1c8lPmE8Siv8gjINU9nEdmQiknjQS5B8SGJWLHHPWdpX+nwvHfSHFQwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQJmzh1p/Kr1hPQ+ISrcREkIAQDAj55HwOEs2HsIDkTuLiPQ==\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\nSIb3DQEBBzAABIIBAAv7yiHnVgKyAirjg7zntJawnknhz8hzL+HDubss++65JMnuBXkxpS613lVV\nXYW/4xAkcxvyzV10v9Kz44V+TbO8aajdgEwUecAj0MamjJUOrkRJNmPdBlVmMuYxzaheJYpI8jyl\nsoiiYWPRFOzzmhcG1LNuy/3ShyR7R8IJ/aVR2y9eOTgH5zc38UCaiQqQYDb1FNmewnrUm10RjlwV\nFODvsD5vX0qtfOFY5aFtmF7/Zl+OWVllpCkrPViZ0GAeuMXSYcHJd0WW+afAfFqqX5+I1JJlme9G\niVOPt+WmcBL7D6SA9kghsEliPfEdX0+gqEDbg/z5CH4I7isvW4+5eOMwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQN/Rj+Ce534HeMc1cu6BbVYAQqxJ/XyF/l5iNLgka5NoS1w==\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\nSIb3DQEBBzAABIIBAJNP8wX2TeSrMARYMc5rX7rNPinZwtpcdD6489BgGLPcik3YOLb9V83QcqXH\ntxhlyMiWEBKPhtZKh4Rn8USeqNmzwpCuZCCUHN6IloP9kTm0gGYhSV0iXupddfNMW6eOR5KMCgX1\nTAQfqG2rlCFLVlpj5AroT0xzYp02wmqu/WCRbOMJ4YLCR1kchxGUvjk0F+DiIxXDQP4RX65i41mJ\nmHEtWGaicBsd1xHaH5k8uqwNU/DCZjalgGoRYq02PpWcTCqdWSApjFzCCpVvBKxEeeAjUtJVoJF1\n7P476cIpzsh0zCPNzh+6jgYHhL4MH7G1ty412JhcsL9bsxDErUAo70owPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQv6VGyZBwK8NtGyif4k/xGoAQNFykOQk/slMGKEhrzW45rQ==\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\nSIb3DQEBBzAABIIBAAISsMd97tgBXeMqSc9M1qLg77tlLUCkqsCot8drZCjy14iJXAg3BDa6ltOe\n/M0Qy0eO9EMTBsPnDy98JRc7/MJRCiCYgfuHwa+UtnVX7GuAdGtVDq6GQVnPoM8GDcjm/mbMdshL\nYS9WeePbPMUgPZrCZ2DvTUPCVV49ObxOPOr9rx1yE9LVZmzWJEnE+BSsrrItENEMo7OxT6Y+plZp\nKWSkiGAYKU9ecYgUiUq+WpwZt92CL/8L9RSuOhkJIoJzgFiIA6YcU9L0bEVS4DUIZqgY4QrU0HXb\nX/Vh050eUqz+FYmLTP2HBcCO42C+3WUJMMKaTIBgXG+HQxODlTfICjwwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQkSKBpTy0Yj7WIuJ2j/n8yoAQN6XxIWVk0KyQSPet8r+xhg==\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.10.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.10.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.10.0.0"; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential6ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAHvWonGXKpH3gsAjILd2ja5oZxRCCiGW1+EvlExJaq1p2ZEHUk28n9aySaa7\n/CyY999TMLrctvP8AuR819rk+OqtRAK6oJuyCqmItrcZGE75PwrLx8ONjidXLpkkqiIimUnU+tpU\n6tWPdQ+CB89dEBMaRkPIDPDFxjdYMXmCDNJXPnxg/uV3tWiJgXVy9gpGNrq7GdzRzgZ/Z8KnKsDF\nF77FHBp8Rnlrhus5zLzSH0Tp+FLNMq36EUJMoxn5topNzs0etHLN8NiLHDCQgyZcm5ecMYdKK/M+\nxOddtdUQkuqTJQPyfGgwDaogKqq1ahw7vIuXdVnr78U2Iw2zzOi+jWUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQavX71qvoMeZxGceyS+xRvIAQ0CG+ecS4cru88vostPtWdw==\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.0.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.0.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.0.0.0"; DependsOn = { "[SqlWindowsFirewall]AddFirewallRuleSQL"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential7ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAB69e+VlOSve2wxkQDSxiTJOs+4qNgoGbw/4+/Hedg2e8Mxwigncf9eRFRVd\np1bJOahJV4484SAFHs8YRoTsLaz1Pme6hqEFCZWp7TOcfFQWF50mvH6q+e0I3o/SFUz8b8OMBawc\nX61sknkKbfIMwbu+AhNzHBfgBWZnCtdB95b5+lQRMRKHIKcNHaRb4jZeDnLtdvRHQbvmjCqsK9Qo\nur7ndtyaRqy1stgJ1wL20W0lwIh7bsrtVjqDUkHq1IYolzHzfzRYw0tp+j1ErlEA3W701d1JTBDk\nO0BF4L7ofnmo4ImQAf3q5xy2eAzBuaza9NePXMacplIvzHeIizhkcqgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQnr/TqukWNpMgH4a+DnPZbIAQy3fqWHqJ8KPSyWx7q3qPEg==\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.0.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.0.0.0"; DependsOn = { "[SqlAlwaysOnService]EnableAlwaysOn"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential8ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBANNHwoAKyXw/A1y/964QftHCV9cvHGD5w+iJ2gqWGFb8I2PPuFLxA1FUfvAP\nb37ZKB3RNyuVCFk11qLFQuwehREKXJQsYgK5FideaXPNXgOr4L75Dvz5hMLVcIcpefoVmQ6BP6i/\nrHhPqQ6FVwKrJ9M8xS65tvsvBHefhXgJRx1iuVAQ+mGFJtP7hCjLGjGTtMxYrMC3AUvz3/IceR1f\nxYic1LqvgLiJbx4FmmeChEcMNhSBUA/is6UL+II2IgIFPtzHZrrm7gdp2FMlhkiV1S1i/NQtZRtZ\nyKjmXt0TkYjlTJ/gp750SzWRBcZSHouWxf4dVsjhox6n20ECIV4zwGUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQfwd+uBWk2hZLOOT6FOgtGYAQ3ee0VeYDqoIP65sDzqVJ/A==\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.0.0.0"; DependsOn = { "[SqlServerEndpoint]CreateHadrEndpoint", "[SqlServerLogin]CreateLoginForAG"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential9ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBACJG7vbeK/B9Rq9zciJhj3KuAyAWfrWRtXO0mmlHfAtW6qPzXp638cFSQnrd\nV1MARWtr8kyJsGIOMoQle4TZ/rXxCflPlLUOxUP076+1ELzijaIa3kTsKvd3HU/gHaNwHYi/LeAl\n4ykMR0XC4MmjnSlktSdVOGTataqfl4we1ZeFpt9fRYUCL3CAMCBE+ApfAZCzYSovt4Nw2wL/1VFn\n97bxV6kFq3mAKwVui8G2LbZnpu2VV2IWQm2FBvt/rm7sdXH5aEQxJjGWVOFcoXnd0bc0OMKt3sbv\nWlmKvgVoHe4gwz6TnN2RD+Lr8k0XvfXiV5IeDzT97Qn4vQIIuqQwMLAwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQOzZNHqwv9DBGXkSjpDyDvYAQDNZprd4yRgpe+kmN/q6yww==\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.0.0.0"; DependsOn = { "[SqlSetup]InstallSQLServer"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential10ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAFVFINKHtKe4LU0SJ6Z3U5wU8Nhp1J9Ql86fZzOVdvlmssbgJHuMTv0lzoNI\n3dpxkNVAYx2YNyVahq42FtKSNFGuvlftuzzRI5AWFyPqJUCuM8ubgMr3dbdVf1gtqcnnSGyscPuw\ny9dxgF3e+XYqz5NGBRo4NVF5YPyRBoxBSWYIcEzGk9FpjIodB9BcWR57SHcRvpO3X8aDSS+jsO3L\nsEv+LZcMHxiylUHA0fDllgFEfaCPIR104ibB8klEptgtBjgNkhfvqST+g+M98bv0pK+i1S+htZF3\npt9ca8SLJd/gSylx8FeYBWTp4zhp0QAQaRohDAhWRkcww1CYOYSbKmwwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQC4301eXT5n6O1ZHIHUTdJYAQWf86EzXbSw1XN1cVo8GYvQ==\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\nSIb3DQEBBzAABIIBAH+sXK58ehbAx3nl7cZT9aqIGALK4dSflzR0+tcLRSyZtrjU9SALJap2ZvMQ\ncGrodmXQ75WHVAkCbyZskgWoKNUbhuw5vHjjkhiYre1gh9QnrZs9udB2MAx/uSnxNNJqI+UMZDuP\nfXo5/6i8UIBAa0c/dFKjRERuaKmdpd4MwGA2a49IHbD4IlbmzjOhVf19YS4PLvoaccmHEcSWzVAJ\nez84rsfwltGeEKOlrhAgKE9UXEvpAS5McW2zoNqV2Zmn6h/xbCeCBAQ8uRWaNS0r9QHoqgCI6yde\nHGEpzldIiGD8/ErMptLq9B7TIX6qBvPBPZVvT5rSdj2C1h4qsY2Km84wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQkZSmrwWsXGrgD91nIZ8OW4AQYbaA4biXzp81vjeXkd5NVA==\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.0.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 18:14:09"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |