MOF/SEC1N2.mof
/*
@TargetNode='SEC1N2' @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]RenameSEATTLE::[ooNetwork]RenameNetworks"; MacAddress = "00-03-ca-27-e8-9c"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "SEATTLE"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress1ref { ResourceID = "[IPAddress]SetIPAddressSEATTLE::[ooNetwork]RenameNetworks"; InterfaceAlias = "SEATTLE"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.1.12/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DefaultGatewayAddress as $MSFT_DefaultGatewayAddress1ref { ResourceID = "[DefaultGatewayAddress]SetDefaultGatewayAddressSEATTLE::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::27::17::DefaultGatewayAddress"; Address = "10.0.1.1"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress1ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE::[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 = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix1ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_NetAdapterName as $MSFT_NetAdapterName2ref { ResourceID = "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetworks"; MacAddress = "00-03-1a-11-1c-1d"; ModuleVersion = "6.1.0.0"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName"; ModuleName = "NetworkingDsc"; NewName = "SEATTLE_HB"; ConfigurationName = "OftenOn"; }; instance of MSFT_IPAddress as $MSFT_IPAddress2ref { ResourceID = "[IPAddress]SetIPAddressSEATTLE_HB::[ooNetwork]RenameNetworks"; InterfaceAlias = "SEATTLE_HB"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress"; ModuleName = "NetworkingDsc"; IPAddress = { "10.0.11.12/24" }; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress2ref { ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE_HB::[ooNetwork]RenameNetworks"; AddressFamily = "IPv4"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::48::17::DnsServerAddress"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetworks"}; ConfigurationName = "OftenOn"; }; instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix2ref { ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE_HB::[ooNetwork]RenameNetworks"; ConnectionSpecificSuffix = "lab.com"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix"; ModuleName = "NetworkingDsc"; InterfaceAlias = "SEATTLE_HB"; ModuleVersion = "6.1.0.0"; DependsOn = { "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]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\nSIb3DQEBBzAABIIBAI9dRaJAwdVYdHChk8GIh3b8olQJZgo8dSN05z2jcVovDG3hVVhBAq1MxjgS\nkg1m5ikDwuWb+mXLkNWbWV3/nV8ILJ7PT5NyWqfeCuu5xvkeRsNCr/a0NPMputA3/DzlpjkrLeEC\nz7ruWrTL5n3gUuFNW+zNUf8nlldFFhX+eGexxPuvOTbpc8EvsMBkGbyq/DU4akAoI40UOqRGZW7f\nnflKpCxM1XAbmAsiwJujv66OfWHK7sVOm+FYUAEb/KQxIR/UOWMILZb75N2DiaLsfQtcj2HdUfy5\nmFpfAjnMccrmXg6UPSoFGzV3BOwJl145U/YhGzyRN525i23hbbDSsL4wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQcsc6tsP52tuJ4IJDVRhauYAQTDKKTJeGvDiQP5BpLUF/3g==\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\nSIb3DQEBBzAABIIBAI3Woyds6spuK5bOF/F1LOP0cNjqUaOQNsAb2nRQPwXxtKbZyQZ6G8zaFBaR\nid3ZcQwLUFKwkIyg5LfsACHQlDivtzfWJsqwvbprN/UwLc7H/hlr3dBjXg7pdi2BaueBRQGuarVM\nbT6CCx8+mPlRKh5X2QFD4uhdu/KQsSm3Jj+Hpgt/WxD5eDOQAZNDFDxLf16ANEiHDopkV5w9Ky/W\nIRSoej+apHd0wonarqwatkoRgIzMuZNUitUrSQfsDWrw5R6lUcEYKxA8u8LyvFIRPYxFeMFFhR5M\n8TeAtdJplycY/59qzkQlXSf3P9AMYhHjawqDZPO8cTR8JiU5dfbmm48wPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQN+iIHPaCPS0k939i12EFXoAQvtpSh4zsuxlgN3oLK/4dVQ==\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 = "SEC1N2"; ModuleName = "ComputerManagementDsc"; ModuleVersion = "6.0.0.0"; DependsOn = { "[xWaitForADDomain]Create"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential3ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAAlGMk6Xg4WNeO+8GBM6+HcJD0VPxKeY8tw6ytfOG5TJ4eBOmbEhr/GGC1a2\n9ouHQGq7+fc64DrW00FG3LoIgin7gJkA+81SWvw6lA//yk47fP1GSrHCz+vKvcRzJ4iSsuRag0f/\n+H/q0iwKMnG49MPuxcQjBrFA124HkKGN/Ob1CezdnvzwEZp8UZaHF4WRB6FoBvJLRwM0+T1SugwD\nWvMZYSTLyrYTSyuEQn1avyTAgOsYO23OcRNI/lXjBskwtTJUG+OIa89gWkvOCbj5xb4DRBV+nptN\nPf9ltUJ9vCi7EW0Gp8zVciok2ueyXtZrf7KlvbrgnYdcTdJfUt91SJYwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ0l+7Q+Uva9d6dRwoNgax2YAQCEuITbIFSrlzyM8/ZfQwVg==\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\nSIb3DQEBBzAABIIBADpdGNJqj9pLjQY9KCMFLSoOpS95nPFbxyZxYbR7uxSDSmFquRFWBnBLxRUn\nWYAgowQazjKdEZ5G2P7JSAx1WeLVcvgW5tF9bKn7IHtPVKePQGWvyEkth8R3Ss7vQ9ayQcc3Kh6s\nfIVF9bSCem71VHuEv5TbOo1Wui8h40Ag6195xpz9kzX+a1eDMtM7/RwTvVbMtRdVDyDbcXUE2fYG\nxFuqmhhXbsqPLdzycT0G+zXzr2eoKObbUzI4JAkBzDLqdfNZ0ZkDKepAUZmemazFv3X7AYacsv+v\nS0DdMGUNJ9CPt4nsc36ZHU6RO4tRkwZ52MyMzc7Ag42hHRy/Rlmm8aMwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQycEmKGCWL8M+/zmsq861uIAQUdGGiIZJusYtOLU1gV0YjQ==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_WaitForAll as $MSFT_WaitForAll2ref { ResourceID = "[WaitForAll]WaitForClusterC1"; PsDscRunAsCredential = $MSFT_Credential4ref; NodeName = { "SEC1N1" }; RetryCount = 120; SourceInfo = "C:\\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\nSIb3DQEBBzAABIIBAGg+T4YIyGn9wugED6tijWalifApUWihe+Hjow8Fc/VyPPVHY6TFtnhAPriA\ntkkq2KoBHfcn5HS0el2bBIFVVtBVUcR9waQaj3s4tbY8vwuFSU9WT+H51N6i62se9rqUTwEBqg64\nPYG/nFlZwIKG5RhJASR2zSMCtejkAJEqEipL83uFKi2XEbNpZDFzPIN/dAOnTCnZmxtuGkFZymt9\nyOp//B5aRCVdKYGskJUi0e7srWZGagCIKt5xFKMjHRvaqV5uNiZhDi7fqFwYKe8VWIZno6Pj4lWu\nvurhbPOkOG6t3SkH2XTj231efSvhpWoAC0CdT7xdcUTdf8Oh8IAW+8wwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ/5Q7MFq66P8wR2sOolW4QoAQOCye2nxbWFCqfLqAczPhYw==\n-----END CMS-----"; UserName = "LAB\\Administrator"; }; instance of MSFT_xCluster as $MSFT_xCluster1ref { ResourceID = "[xCluster]AddNodeToClusterC1"; IgnoreNetwork = { "10.0.11.0/24" }; StaticIPAddress = "10.0.1.21/24"; DomainAdministratorCredential = $MSFT_Credential5ref; SourceInfo = "C:\\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.1.0</S>\n </En>\n <En>\n <S N=\"Key\">SubnetMask</S>\n <S N=\"Value\">255.255.255.0</S>\n </En>\n <En>\n <S N=\"Key\">CIDR</S>\n <S N=\"Value\">10.0.1.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network SEATTLE (Client)</S>\n </En>\n <En>\n <S N=\"Key\">CIDRSuffix</S>\n <I32 N=\"Value\">24</I32>\n </En>\n <En>\n <S N=\"Key\">IPAddress</S>\n <S N=\"Value\">10.0.1.21</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n if (Get-ClusterResource | Where-Object { $_.ResourceType -eq 'IP Address' } | Get-ClusterParameter -Name Address | Where-Object { $_.Value -eq $clusterStaticAddress.IPAddress }) {\n @{ Result = \"true\"; }\n } else {\n @{ Result = \"false\"; }\n }\n "; TestScript = "$clusterStaticAddress = [System.Management.Automation.PSSerializer]::Deserialize('<Objs Version=\"1.1.0.1\" xmlns=\"http://schemas.microsoft.com/powershell/2004/04\">\n <Obj RefId=\"0\">\n <TN RefId=\"0\">\n <T>System.Collections.Hashtable</T>\n <T>System.Object</T>\n </TN>\n <DCT>\n <En>\n <S N=\"Key\">NetworkID</S>\n <S N=\"Value\">10.0.1.0</S>\n </En>\n <En>\n <S N=\"Key\">SubnetMask</S>\n <S N=\"Value\">255.255.255.0</S>\n </En>\n <En>\n <S N=\"Key\">CIDR</S>\n <S N=\"Value\">10.0.1.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network SEATTLE (Client)</S>\n </En>\n <En>\n <S N=\"Key\">CIDRSuffix</S>\n <I32 N=\"Value\">24</I32>\n </En>\n <En>\n <S N=\"Key\">IPAddress</S>\n <S N=\"Value\">10.0.1.21</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n if (Get-ClusterResource | Where-Object { $_.ResourceType -eq 'IP Address' } | Get-ClusterParameter -Name Address | Where-Object { $_.Value -eq $clusterStaticAddress.IPAddress }) {\n $true\n } else {\n $false\n }\n "; SourceInfo = "C:\\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.1.0</S>\n </En>\n <En>\n <S N=\"Key\">SubnetMask</S>\n <S N=\"Value\">255.255.255.0</S>\n </En>\n <En>\n <S N=\"Key\">CIDR</S>\n <S N=\"Value\">10.0.1.21/24</S>\n </En>\n <En>\n <S N=\"Key\">Name</S>\n <S N=\"Value\">Cluster Network SEATTLE (Client)</S>\n </En>\n <En>\n <S N=\"Key\">CIDRSuffix</S>\n <I32 N=\"Value\">24</I32>\n </En>\n <En>\n <S N=\"Key\">IPAddress</S>\n <S N=\"Value\">10.0.1.21</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n $resourceName = \"IP Address $($clusterStaticAddress.IPAddress)\"\n Get-Cluster | Add-ClusterResource -Name $resourceName -Group 'Cluster Group' -ResourceType 'IP Address'\n Get-ClusterResource -Name $resourceName | Set-ClusterParameter -Multiple @{ Address = $clusterStaticAddress.IPAddress; Network = $clusterStaticAddress.Name; SubnetMask = $clusterStaticAddress.SubnetMask; }\n $dependencyExpression = (Get-Cluster | Get-ClusterResourceDependency -Resource 'Cluster Name').DependencyExpression\n if ($dependencyExpression -match '^\\((.*)\\)$') {\n $dependencyExpression = $Matches[1] + \" or [$resourceName]\"\n } else {\n $dependencyExpression = $dependencyExpression + \" or [$resourceName]\"\n }\n Get-Cluster | Set-ClusterResourceDependency -Resource 'Cluster Name' -Dependency $dependencyExpression\n # Without this, it won't start automatically on first try\n (Get-Cluster | Get-ClusterResource -Name $resourceName).PersistentState = 1\n "; ModuleName = "PSDesiredStateConfiguration"; ModuleVersion = "0.0"; DependsOn = { "[xClusterNetwork]RenameClusterNetworkC1Client", "[xClusterNetwork]RenameClusterNetworkC1Heartbeat"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xClusterNetwork as $MSFT_xClusterNetwork1ref { ResourceID = "[xClusterNetwork]RenameClusterNetworkC1Client"; Role = "3"; AddressMask = "255.255.255.0"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::294::17::xClusterNetwork"; Name = "Cluster Network SEATTLE (Client)"; Address = "10.0.1.0"; ModuleName = "xFailoverCluster"; ModuleVersion = "1.11.0.0"; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_xClusterNetwork as $MSFT_xClusterNetwork2ref { ResourceID = "[xClusterNetwork]RenameClusterNetworkC1Heartbeat"; Role = "1"; AddressMask = "255.255.255.0"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::303::17::xClusterNetwork"; Name = "Cluster Network SEATTLE_HB (Heartbeat)"; Address = "10.0.11.0"; ModuleName = "xFailoverCluster"; ModuleVersion = "1.11.0.0"; DependsOn = { "[xCluster]AddNodeToClusterC1"}; ConfigurationName = "OftenOn"; }; instance of MSFT_Credential as $MSFT_Credential6ref { Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAC612+5jcB/ttybFxnOGxhwwq9kWxR1JQl0iNrogfJfzk4wQWIkAFWxZknyJ\n0bqTBDZ7rEjDatMrEvPt2GmMohesgnoguxwtX3RsuUno2AZT0c4d/ealbx3X9f7XngFv9PWLm5YX\nCMlIxl6cUCLQoiiLZe/8hobA28lD2xZl1O6b27OMAr4wAJhW2OYG9vRCcF8cJTPgOIS8tYek7Pa+\neUK326Ra/GgtTJgG7u3ShMbx+yGIF/L/xEYMTCcQMisVLk884hydL5Zs5fk5YGBk8AbEfjszXnRN\nZt2ZKfwJ2T9ZvN6+kKHr8x/f6d609gb2QlA9QLYLeTB3/fpYI4b/zukwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQqU6VfKtZOlkIeIa46GYhkoAQspoUfvupYHIL28ip64UbnA==\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 = "SEC1N2"; 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\nSIb3DQEBBzAABIIBAJgkZah4VwGZjk9dDunDoZXBc/20Bfw3kUOxsCGovv6TQgesaNR5QL578TWs\nvddL22SfbakQ5SsCLp3/Yj0ZWR4ZO8fgSlVFp+g2PLoXKK/yqix1DmtYDkxOnVy+UTRZdBRbXgsC\n33Cfj0B4VvD7xglt0paip7VPsiJp4GIH/xA3wEsI1FRB4G98Elk9xl3KqiJ5bFLHkPa/5iFRU5sc\nyBhqX7NfJR39lIznmE/V+ap/EiNMIRLyrKM6LnoMwNXOW+v9tlJ8PlDz4bHTTne0dDfoLUprrZpN\n9kZyavfoV6pUjeuwBLEKW67IGsNxTsDcz93ILNJmyC2hhpIrkLrd4cgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQmlB3uCmyVRTiDK6ndvIZM4AQTuSEgfLFe+1pZ36WmSGFtA==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerLogin as $MSFT_SqlServerLogin1ref { ResourceID = "[SqlServerLogin]CreateLoginForAG"; PsDscRunAsCredential = $MSFT_Credential7ref; ServerName = "SEC1N2"; 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 = "SEC1N2"; 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\nSIb3DQEBBzAABIIBAH/ALZSH2+MggK6KbxbuY0/pPqLvuvNsTU2czFYUHMzuT2bFswdcv1Mko4bO\nTxfr0k5eeXg8w7zGTZB8wuNe7oQahkHSjuUHB1J/Hf0dfoECqojzU8s0y4rvWL9QHEdoS2k2/CHR\nMnTrGyVOU1h36EZENzjb7y7ACA5GR5bXCuqSaecGwKaMR4cxA2TNCgyukaRtnTS/K/E3ZpEdgYKI\nf2fZcnGT4uB6QPRkeU/qCE/5GlRbInL6lr/nx60e0ziCGk+nQNAxLoJDjemzg/dNojRwOxVr+T4d\naVjFJPNRJgEKpOqQuAtszZBpJ5GJMPqn0S/Airjdj8YkNH62YEFxcRIwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQWOIlU/ffvyZmTrk/B8XZWIAQe1hhYu0IkQCNbPscG1Pe6A==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerEndpointPermission as $MSFT_SqlServerEndpointPermission1ref { ResourceID = "[SqlServerEndpointPermission]AddLoginForAGEndpointPermission"; Permission = "CONNECT"; PsDscRunAsCredential = $MSFT_Credential8ref; ServerName = "SEC1N2"; 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\nSIb3DQEBBzAABIIBAGyzZGN2CBzphygfR5bpMCCr3rzy+2pND+O/pxxjcZrCtTdpitJA+59nyKHr\nbWliBmaHFs93F3V/51s+Pmg0G04ZBYxaGSdlWNZH3nbU5l6QsTFhHBTr2AKHZohn9YCDBsyUvs0y\nkHI2tK7lOSSOBhFWFDa+937+wgOVGzSe1mpKQGjyNwQTD9BW9RmuF4cOqoPL6D+6tmq2L+NACSdV\ngas5WHhD2EAKCHQJBZDg88+nLUskQy3DqiwfhdQCYj8BXtNg8F338sJwyPq8d4sMliM6jrP7pf+5\nEN5Fj68FyuzFwAtS+pP/WBPHCzeGy1zr2hvK+1ghmZn42f7fGO4Di7gwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQaOv8RgGbcrkBeiytOWGX5IAQCZd13R71OC8r3uLw7+8/+A==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlServerPermission as $MSFT_SqlServerPermission1ref { ResourceID = "[SqlServerPermission]AddPermissionsForAGMembership"; Permission = { "AlterAnyAvailabilityGroup", "ViewServerState" }; PsDscRunAsCredential = $MSFT_Credential9ref; ServerName = "SEC1N2"; 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\nSIb3DQEBBzAABIIBALrVuCYQdgJXP0acAbQlepF41wrkF2MJVmIKf6KJFRQ3IhUXNGrnO3Vargcj\nzSRN+yMYTDKbEhSWMnsJ1AE8K605VwU1LfJbj6hdYnWGqnu3GwkXa3UXFW2v2LFJwFbIlgcz4/dX\n/7O5qxB6myQqKoAmoLksVumO7adbCBcTfKA7hBBoM3MIQsOZ8tI/eijqLjtdDZ61GJxvJvxmOqbx\nxaD32gcFI8B9CBK7N/HC/bI6Wj+Y9H+U8QnA/ylvwZ743AUY4+Rf17Ryx3Bun+ZlBKL4z1f90MyS\ncP8dcXM0v8/Zs+SMzOLPPzyTaPqLfCZG7pbNUqxGjId8NJdRu54rnTwwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ5+GZjep25qIqCl02WhNJ5oAQyliBhDctaXa6UYHeKR1Z9A==\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\nSIb3DQEBBzAABIIBAFGN1GPg7CsQUFmdEGGQFrOtE20JB/s70D/jacuWWhLtWh8SfaR1Y2+7Kci2\nch//noSE9gziVL6MJZC+Z7Kz/fSNW66SWMaBOexVNzx6RZOiLTjQemK08VcYLcL3/FudptqVbZg2\n0mY93rE5EnxFF7v747Thw240N4XZdhrbmYDPFpQ0YnHF4Kcw6rA7osaiJqeeJ+rC8YtFOk69QkeN\nkMvoid5mL2XEjddbPKlrwXRN0wWQF0Say2WzwKNMcc44POT1x5uxr8oZtTRXnsTWcQddcgEEWghC\nxZ3p3DUHLRT9BGdk0BBfbYQcmgamY9z313bzu7mT3EcfmtUWUfJIRzwwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ8Hs+MPGMiFhlV6npfUWEnoAQRJmoPE32+/cwgc7Aw6CEdw==\n-----END CMS-----"; UserName = "LAB\\LocalAdministrator"; }; instance of MSFT_SqlAGReplica as $MSFT_SqlAGReplica1ref { AvailabilityGroupName = "AG1"; ServerName = "SEC1N2"; Name = "SEC1N2"; PrimaryReplicaServerName = "SEC1N1"; ConnectionModeInSecondaryRole = "AllowAllConnections"; FailoverMode = "Manual"; PsDscRunAsCredential = $MSFT_Credential11ref; ResourceID = "[SqlAGReplica]AddReplicaToAvailabilityGroupAG1"; Ensure = "Present"; ConnectionModeInPrimaryRole = "AllowAllConnections"; InstanceName = "MSSQLSERVER"; SourceInfo = "C:\\GitProject\\OftenOn\\OftenOn\\Configuration\\OftenOn.ps1::501::25::SqlAGReplica"; AvailabilityMode = "AsynchronousCommit"; ModuleVersion = "12.1.0.0"; ModuleName = "SqlServerDsc"; PrimaryReplicaInstanceName = "MSSQLSERVER"; DependsOn = { "[WaitForAll]WaitForAG1L"}; ConfigurationName = "OftenOn"; }; instance of OMI_ConfigurationDocument { Version="2.0.0"; MinimumCompatibleVersion = "2.0.0"; CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"}; Author="cody"; GenerationDate="10/29/2018 19:26:57"; GenerationHost="THINKY"; ContentType="PasswordEncrypted"; Name="OftenOn"; }; |