MOF/DAC1N2.mof
/*
@TargetNode='DAC1N2' @GeneratedBy=cody @GenerationDate=10/22/2018 01:56:59 @GenerationHost=THINKY */ instance of MSFT_TimeZone as $MSFT_TimeZone1ref { ResourceID = "[TimeZone]TimeZone"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::49::9::TimeZone"; TimeZone = "W. Australia Standard Time"; IsSingleInstance = "Yes"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "5.2.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:\\Git\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::5::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog2ref { ResourceID = "[xWinEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Analytic"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::10::5::xWinEventLog"; ModuleName = "xWinEventLog"; ModuleVersion = "1.2.0.0"; IsEnabled = True; ConfigurationName = "OftenOn"; }; instance of MSFT_xWinEventLog as $MSFT_xWinEventLog3ref { ResourceID = "[xWinEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"; MaximumSizeInBytes = 50331648; LogName = "Microsoft-Windows-DSC/Debug"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::16::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:\\Git\\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:\\Git\\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:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::3::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:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::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:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::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:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::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:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::11::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:\\Git\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::19::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:\\Git\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::3::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:\\Git\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::9::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-30-10-27-6d"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::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:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::17::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.2.12/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:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::26::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:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::40::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:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::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-9a-0b-bc-bd"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::11::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:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::17::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.12.12/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:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::47::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:\\Git\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::54::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\nSIb3DQEBBzAABIIBAG3HHkBFBYdbfLoUAOJBnzZJpqBegQFMZhjYkwt3r4pN/6qetlhrA/6xnyxm\nYgUs5MATTWRSNwDLFT8BP0O88FzAMhM1arLNIGLQ1JYP7g6LYJYYsH7QzmcbwG11FPKqwYHTQ/DI\nF9TQmycYH/RxW8uDYDw2A5vY0O0FITwYh2EwAxJCHqTh7R4+PEu/5nZ1ruXT1BMfcKAdcrEpp/wJ\noNEC0R+DmwMoUAC1V3hT2048BYxDviM4K0lzR8dNWfAY5wzsQs+lhDoxblWF7caX7+H8xnrdOlMq\n1xJ2dyAAOV17HfW6DUOEsJjbdrEwv8nO1dlkUQBPvFVABFP6W93kTe4wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ01zycdZbplOh94JUxjluiIAQX1LzazSJCEViIYvR19N91A==\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\\Configuration\\OftenOn.ps1::178::17::xWaitForADDomain"; DomainName = "lab.com"; ModuleName = "xActiveDirectory"; RetryIntervalSec = 15; ModuleVersion = "2.21.0.0"; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential2ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBACrM/3ljHxwTsR5DjQqZea+scLqV+P7utCXCw7vIzZJWh0hdZvTD4WkL4osn\nbXyYZnNyQ24XvtztqGTp4Omf9ykRNJjr3INh2UkIoToeg4rSTVzdlscIu7t3bpoBzxDrEv59aSGi\nuRM5w9u2xMd8QL84L/Ha44TN8gMforikIy+3OGNeOJoRIBkRnSndrc00BewjJx2UBj7uOaNXuDqG\nMfwaLH9drxOhEapGoye0XgFQPt7ekFl2x3AZxPPG91f0mrCU58mKcLjsqh4nNZGgbZ1Fbg7zWaFr\nmOmMO6/8FU4RL/ubUplBskS2JKPKatZw/VERhWs2P5gA9axnQMpmRIIwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQW5/s+9+M+a9WK8TUbJswHoAQ46ihDneN1RNAkhEmCCzyJA==\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\\Configuration\\OftenOn.ps1::188::17::Computer"; Name = "DAC1N2"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "5.2.0.0"; DependsOn = { "[xWaitForADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential3ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAFBiYOFJErJjs+9UnvYuiTmWpFetTDO2+q4rUEh4b0HmyBvH3ZN0andkTMMx\nbrme0XRBgr+zteiKt/9rk41kU4D8MUZKf9w+vAejIkYlDYuJiEzRn1YA9jJ0JBhF5dT7zNZx9rrc\nRSPh880bpYo+xaGb/KhyKCykjmRyuB+VySv0gZlZ7kXyqO9Wn5OxBhlbHtNNsLPr3CQLmbU9/AKq\nSb/wOEfzTxQKxeQnPvUU3exR6+FnluqR4Cbtphcvyw0OzXTW04UJEuUKz+RNy6UeVSBKuWDH7Kil\nN+hEfaRhqJrgnQcWLKquWvynBTl6OVHWRvfocjCFdNoUpTZI811gSlIwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQaTd5rhXF+eBHFJUzmdY5NoAQqf3pSH+JrwtfWZnT8lWCHg==\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\\Configuration\\OftenOn.ps1::197::17::WaitForAll"; ResourceName = "[xADUser]CreateLocalAdministrator"; ModuleName = "PSDesiredStateConfiguration"; RetryIntervalSec = 15; ModuleVersion = "0.0"; DependsOn = { "[Computer]Rename"}; ConfigurationName = "OftenOn"; }; instance of MSFT_GroupResource as $MSFT_GroupResource1ref { ResourceID = "[Group]AddLocalAdministratorToAdministratorsGroup"; MembersToInclude = { "LAB\\LocalAdministrator" }; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::211::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\nSIb3DQEBBzAABIIBAHocLBoZ2hk5fIwNKpGBFojJOxtp3vOxZQwbS+Da3QeLVBnPF+l7fn7sdUuO\ncY51p4khPXzQ3pq9bwqiRYVpp9OCEUlhmbZbJyq3HI+9ugf5sj/Bf82WZuhqx++a5TyWtrSgaN9S\nVGfHg+5vrmnxW/VDco6JRiDHt7geeo0iSTgPaMVBzC+xh+OCdLs2GU2IziSAR1yhEEzFU5yaj5ij\nnZbwZtOwMeyAk7VbldH3YumQBA+2cuh2i3fndwFRsvZrgiYIjWYRRGlZb0RhaBJHyuCBq2unK/lx\nA9fAH3nsJJYKOSoLAKXHchG4574kDhroCo7aROs//kwBSOZChFgrtNYwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQgg7GPtKjMFAohfFhjLm9aYAQfBy8PD6E587AF8bzJedtwg==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll2ref { ResourceID = "[WaitForAll]WaitForClusterC1"; PsDscRunAsCredential = $MSFT_Credential4ref; NodeName = { "DAC1N1" }; RetryCount = 120; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::240::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\nSIb3DQEBBzAABIIBAJXnVINQlQfoa/Do+DzekmpD+oLty93ne/n06BzAbhzEdltLlVHJFiXJF4WR\n1qFD8wJDiRVW1cD2/nZqjrb4ZYeynV+3nwNB72qPbE0gOnAF0/fEkmS7a1rBKmOUJkkp8OJx7FDI\nmRsYs1FH3jV2a+zgivIx0GrFz69f4z1o+Tz8sZUeJEpS+p1cI3+DG49PrVkvf0r0hAVuXX8oPaeD\nV5ntlLGl09vFYx1JzbjnlCQi7b2Ie+DhiImOaDcutub1Sh0JU4s9onOrbqvVr+TtKsUhuBmYIE4a\nX6o3dvgB7xahxgIhZ9onJWABZLKzaHIYGJc0ZL7lLfMvCAMhdxAzWYswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQcuTo7DYEwAMabuph+h7s4IAQQx28aA48wNbqPRnDcQdxvA==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xCluster as $MSFT_xCluster1ref { ResourceID = "[xCluster]AddNodeToClusterC1"; IgnoreNetwork = { "10.0.12.0/24" }; StaticIPAddress = "10.0.2.21/24"; DomainAdministratorCredential = $MSFT_Credential5ref; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::253::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:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::263::21::Script"; SetScript = "$clusterStaticAddress = [System.Management.Automation.PSSerializer]::Deserialize('<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\">\n <Obj RefId=\"0\">\n <TN RefId=\"0\">\n <T>System.Collections.Hashtable</T>\n <T>System.Object</T>\n </TN>\n <DCT>\n <En>\n <S N=\"Key\">NetworkID</S>\n <S N=\"Value\">10.0.2.0</S>\n </En>\n <En>\n <S N=\"Key\">SubnetMask</S>\n <S N=\"Value\">255.255.255.0</S>\n </En>\n <En>\n <S N=\"Key\">CIDR</S>\n <S N=\"Value\">10.0.2.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network DALLAS (Client)</S>\n </En>\n <En>\n <S N=\"Key\">CIDRSuffix</S>\n <I32 N=\"Value\">24</I32>\n </En>\n <En>\n <S N=\"Key\">IPAddress</S>\n <S N=\"Value\">10.0.2.21</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n $resourceName = \"IP Address $($clusterStaticAddress.IPAddress)\"\n Get-Cluster | Add-ClusterResource -Name $resourceName -Group 'Cluster Group' -ResourceType 'IP Address'\n Get-ClusterResource -Name $resourceName | Set-ClusterParameter -Multiple @{ Address = $clusterStaticAddress.IPAddress; Network = $clusterStaticAddress.Name; SubnetMask = $clusterStaticAddress.SubnetMask; }\n $dependencyExpression = (Get-Cluster | Get-ClusterResourceDependency -Resource 'Cluster Name').DependencyExpression\n if ($dependencyExpression -match '^\\((.*)\\)$') {\n $dependencyExpression = $Matches[1] + \" or [$resourceName]\"\n } else {\n $dependencyExpression = $dependencyExpression + \" or [$resourceName]\"\n }\n Get-Cluster | Set-ClusterResourceDependency -Resource 'Cluster Name' -Dependency $dependencyExpression\n # Without this, it won't start automatically on first try\n (Get-Cluster | Get-ClusterResource -Name $resourceName).PersistentState = 1\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; DependsOn = { "[xClusterNetwork]RenameClusterNetworkC1Client", "[xClusterNetwork]RenameClusterNetworkC1Heartbeat"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xClusterNetwork as $MSFT_xClusterNetwork1ref { ResourceID = "[xClusterNetwork]RenameClusterNetworkC1Client"; Role = "3"; AddressMask = "255.255.255.0"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::297::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:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::306::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\nSIb3DQEBBzAABIIBAHG6GG0Tn8epW906ebBfeQpOklfsyjlwsvVknPHVWAfkyBeD8WUKgdmMdyv7\nxhMRpvnNlC5+au1beCEGmUpp4fQhO3ahAaQz70aZSm4M5xgscqDCRADCEzAL72vScRtVPXcss1hw\nSIettzKKz4Dr5yZ4osg0wZLwyL0QUCTYl9fLFipoVN5NqIhAziYKkXks8JOSfU9aDifs5fjOqZHk\n0cPSPPFx75bjShYtciAA2c8wQGfqKqzJeMIU9RL/tQgnxRJukUpLQ1EUuYSj1KwoilRntxMAPtLn\nvt9ZrhAkXYLmPGyP0Dt8ARKIcsjfgXv3V/JBI6vk2pRz1tyZHkEYlpMwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQgFDaeu84H+xI6pd3Pf5RBYAQooaRfT3aQXp0XgGNwXqL3A==\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:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::321::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:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::333::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 = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::342::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\nSIb3DQEBBzAABIIBABUHylE/QEP2A3GzN6ZZr3DXRh3hb6Va6La9mWF/eDlgcXGMQd4wm1ZW9vMu\nekHqvISQqJSzS84pQbzgmmadEHDlUqMLmqkxJ5qUeU6M6Tno42iH0ZbpTO5qpZWNGug8MgoRG8xW\nQWts90ODPB7Ci7RIE9bkG8nGPNzokiVIiD3//zwzDcHvEKQhUPOCi2NuZFCX7rStRcVbfCR15sm2\nQHaTtvI3C+32BuNJ9I9moD3K1nDMxQNsrQio8QDMQImwcJ8KnAOlZjOYRKEB5GMoSCeYpswiRiWc\n7n8C2BpBK4AXHlnivolQ/GRMpBeEWT1MgunvpC/txN9+vWBl3QXbHogwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQTD2QykD7bhiVs8HjosmRh4AQSjNqme06UV9Jg774UjF8mA==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerLogin as $MSFT_SqlServerLogin1ref { ResourceID = "[SqlServerLogin]CreateLoginForAG"; PsDscRunAsCredential = $MSFT_Credential7ref; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::350::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 = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::361::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\nSIb3DQEBBzAABIIBACYa5mbH1NzuVFApfeF22ftVTREI1g7ekm6LgvJV4UbLjOnppifnDVnQbWLx\n1LmugcA697AEAfZu6K3/iGz4wmVSt2jW/CFJs2otAc2mxkKo5mU9uuQTIQ+GTSAZU/NaIAt6Iuor\nC7tgFanPkvUR+4Aa17HebBm8+xmk5kNhatwX+1moaVysvs0qkHmNqs/MRbI8biyT0teAoHnBCH3b\nuD0myHWwm5qdkuSTgmlU/tMNaYYP/lFHvya/JR+rfgMNC1xDgz1vM4MCsk0rJ44Lx/ZKolK5ONhg\nfjSV102iVMzLP2M4O8rZ4qXoAS7hR/cxmrLJrKnLcrqfeJyhOveQsDkwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ5Lu4hFT6Jj1Z5gAH7dbeT4AQjFpshyi7Bz144mtIBJurrg==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerEndpointPermission as $MSFT_SqlServerEndpointPermission1ref { ResourceID = "[SqlServerEndpointPermission]AddLoginForAGEndpointPermission"; Permission = "CONNECT"; PsDscRunAsCredential = $MSFT_Credential8ref; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::372::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\nSIb3DQEBBzAABIIBACDVcX1O7BAExDyS8GEOgXZxkg4WcCWcRKJtHYn35DUpEJV+UASSXAUWH1h3\nbRjaGjxq6HLMdH1KfdpRCcj6YYcJ5mRcrWho2uVYwdOdLgFIwg2DfYe4vzYO2s1MZRfMXpJmATIb\nD6T68ncohF+atejMxEwGRM+HuwO92pHx/WJgkKgopniQazKj1JHLtGD5lWBHmDvPR6wJTyyKCMgw\nWHgfvQET4jbpfpF99kvOM2a23T+8GnCk7hmAH+9ePFWkOXI/v83VBO5ZrTiaOLCsWns3pPBuvrvZ\ncIskR4tJO0zrBvCW9LJxPjt2jFSmV3j1ZOYQFRPnHu3NuXd/HgFO14wwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQVUrT9pWrn6X0h+2ciyLbKYAQQjE3f+nJ1wfry+BgLMBy0Q==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerPermission as $MSFT_SqlServerPermission1ref { ResourceID = "[SqlServerPermission]AddPermissionsForAGMembership"; Permission = { "AlterAnyAvailabilityGroup", "ViewServerState" }; PsDscRunAsCredential = $MSFT_Credential9ref; ServerName = "DAC1N2"; InstanceName = "MSSQLSERVER"; Ensure = "Present"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::385::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\nSIb3DQEBBzAABIIBAAtC3ygBhRYfny9SVCM0DUgBFJzChJF/Q4WvKWuFdhBjKfbp4Nz3DxnEAY5m\ntR0QNRyRUUT7yJaMjDXxBoPOwjCKYuS7pVf7fVidejIRdKJ+6ZzAEogepmz25G48xCc5PJdZ3MBb\nsEVLcGpj5I7F4+WJCk6IeIGCEQ/53BHyS0mXoEfS01bsxQztftc/0S2myBFJ2tcKgY0f42H8HYja\nZ7jp53pXMjBwBAhm4TiBpR3558ExzjSFHbHtB+zoWnazLylQ8yH69CKQolf4hEgkefst0iuHf8V/\nxXatHhPkwWGBu3VOaBtheNjFAF5E84o1AFnFffoLDTfvOhWtdf8o0VMwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQknKGUZD8r0Ia+439sR5mtYAQUZoocegqu681xqOX1Fd5rA==\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:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::495::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\nSIb3DQEBBzAABIIBAGOqYSHsW0qoIxkZvsrBTs0M3iJ8LAWhC6mlTNpI1t+kNE4YH1I5w1zAfmIR\nJcv3l/PTpzL+tG/ENrsXZxkuw9A1yH0J04pgpzrenIsexDIemkch7dOwAWMi86CvBP0TEToHh0oe\nw+0ihLrd3KeUs7p4AQnBrkOZZe5i+mzOGGjF2ozr4EPiB4sLZgZ6Jq5wCiq6TehGXYKCb+XhXbQp\n5GYvmeTc5nV4POSH4IdMDoNOYil3+tzB6BjvVpW7gEQRmHj2fo+rNTSJyDktUaVBJ7vuXXTCP5Rc\nJktSU6NBUvdlhYexJAImd50Slm2/Hg2imkpo4WxvlNmKx0AbgHHbWjwwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQFOtSDPjE93zD6fMtURWOuYAQD2pi8mjLRVLhM1X6HRyKkw==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlAGReplica as $MSFT_SqlAGReplica1ref { AvailabilityGroupName = "AG1"; ServerName = "DAC1N2"; Name = "DAC1N2"; PrimaryReplicaServerName = "SEC1N1"; ConnectionModeInSecondaryRole = "AllowAllConnections"; FailoverMode = "Manual"; PsDscRunAsCredential = $MSFT_Credential11ref; ResourceID = "[SqlAGReplica]AddReplicaToAvailabilityGroupAG1"; Ensure = "Present"; ConnectionModeInPrimaryRole = "AllowAllConnections"; InstanceName = "MSSQLSERVER"; SourceInfo = "C:\\Git\\OftenOn\\Configuration\\OftenOn.ps1::504::25::SqlAGReplica"; AvailabilityMode = "AsynchronousCommit"; 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/22/2018 01:56:59"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |