MOF/SEC2N3.mof

/*
@TargetNode='SEC2N3'
@GeneratedBy=cody
@GenerationDate=06/20/2019 00:28:14
@GenerationHost=THINKY
*/
 
instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog1ref
{
ResourceID = "[WindowsEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog";
 MaximumSizeInBytes = 50331648;
 LogName = "Microsoft-Windows-DSC/Operational";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::7::5::WindowsEventLog";
 ModuleName = "ComputerManagementDsc";
 ModuleVersion = "6.4.0.0";
 ConfigurationName = "OftenOn";
};
instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog2ref
{
ResourceID = "[WindowsEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog";
 MaximumSizeInBytes = 50331648;
 LogName = "Microsoft-Windows-DSC/Analytic";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::12::5::WindowsEventLog";
 ModuleName = "ComputerManagementDsc";
 ModuleVersion = "6.4.0.0";
 IsEnabled = True;
 ConfigurationName = "OftenOn";
};
instance of MSFT_WindowsEventLog as $MSFT_WindowsEventLog3ref
{
ResourceID = "[WindowsEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog";
 MaximumSizeInBytes = 50331648;
 LogName = "Microsoft-Windows-DSC/Debug";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooDscLog\\ooDscLog.schema.psm1::18::5::WindowsEventLog";
 ModuleName = "ComputerManagementDsc";
 ModuleVersion = "6.4.0.0";
 IsEnabled = True;
 ConfigurationName = "OftenOn";
};
instance of MSFT_TimeZone as $MSFT_TimeZone1ref
{
ResourceID = "[TimeZone]SetTimeZone";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::60::9::TimeZone";
 TimeZone = "W. Australia Standard Time";
 IsSingleInstance = "Yes";
 ModuleName = "ComputerManagementDsc";
 ModuleVersion = "6.4.0.0";
 
DependsOn = {
    "[WindowsEventLog]AlterDSCOperationalLog::[ooDscLog]EnableDscLog",
     "[WindowsEventLog]EnableDSCAnalyticLog::[ooDscLog]EnableDscLog",
     "[WindowsEventLog]EnableDSCDebugLog::[ooDscLog]EnableDscLog"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RegistryResource as $MSFT_RegistryResource1ref
{
ResourceID = "[Registry]DisableNegativeCacheTtl::[ooRegistry]SetRegistry";
 ValueName = "MaxNegativeCacheTtl";
 Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Dnscache\\Parameters";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::3::5::Registry";
 ValueType = "Dword";
 ModuleName = "PSDesiredStateConfiguration";
 ValueData = {
    "0"
};
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RegistryResource as $MSFT_RegistryResource2ref
{
ResourceID = "[Registry]DisableMachineAccountPasswordChange::[ooRegistry]SetRegistry";
 ValueName = "DisablePasswordChange";
 Key = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Netlogon\\Parameters";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::12::5::Registry";
 ValueType = "Dword";
 ModuleName = "PSDesiredStateConfiguration";
 ValueData = {
    "1"
};
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RegistryResource as $MSFT_RegistryResource3ref
{
ResourceID = "[Registry]DisableInternetExplorerEnhancedSecurityConfigurationAdmin::[ooRegistry]SetRegistry";
 ValueName = "IsInstalled";
 Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{A509B1A7-37EF-4b3f-8CFC-4F3A74704073}";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::21::5::Registry";
 ValueType = "Dword";
 ModuleName = "PSDesiredStateConfiguration";
 ValueData = {
    "0"
};
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RegistryResource as $MSFT_RegistryResource4ref
{
ResourceID = "[Registry]DisableInternetExplorerEnhancedSecurityConfigurationUser::[ooRegistry]SetRegistry";
 ValueName = "IsInstalled";
 Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Active Setup\\Installed Components\\{A509B1A8-37EF-4b3f-8CFC-4F3A74704073}";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::29::5::Registry";
 ValueType = "Dword";
 ModuleName = "PSDesiredStateConfiguration";
 ValueData = {
    "0"
};
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RegistryResource as $MSFT_RegistryResource5ref
{
ResourceID = "[Registry]DisableInternetExplorerFirstRun::[ooRegistry]SetRegistry";
 ValueName = "DisableFirstRunCustomize";
 Key = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Internet Explorer\\Main";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::37::5::Registry";
 ValueType = "Dword";
 ModuleName = "PSDesiredStateConfiguration";
 ValueData = {
    "1"
};
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RegistryResource as $MSFT_RegistryResource6ref
{
ResourceID = "[Registry]DisableInactivityTimeout::[ooRegistry]SetRegistry";
 ValueName = "InactivityTimeoutSecs";
 Key = "HKEY_LOCAL_MACHINE\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRegistry\\ooRegistry.schema.psm1::45::5::Registry";
 ValueType = "Dword";
 ModuleName = "PSDesiredStateConfiguration";
 ValueData = {
    "0"
};
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of xRemoteDesktopAdmin as $xRemoteDesktopAdmin1ref
{
ResourceID = "[xRemoteDesktopAdmin]EnableRemoteDesktopService::[ooRemoteDesktop]EnableRemoteDesktop";
 UserAuthentication = "NonSecure";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::6::5::xRemoteDesktopAdmin";
 ModuleName = "xRemoteDesktopAdmin";
 ModuleVersion = "1.1.0.0";
 
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Firewall as $MSFT_Firewall1ref
{
ResourceID = "[Firewall]EnableFPSICMP4ERQIn::[ooRemoteDesktop]EnableRemoteDesktop";
 Enabled = "True";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall";
 Name = "FPS-ICMP4-ERQ-In";
 ModuleName = "NetworkingDsc";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Firewall as $MSFT_Firewall2ref
{
ResourceID = "[Firewall]EnableFPSICMP6ERQIn::[ooRemoteDesktop]EnableRemoteDesktop";
 Enabled = "True";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall";
 Name = "FPS-ICMP6-ERQ-In";
 ModuleName = "NetworkingDsc";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Firewall as $MSFT_Firewall3ref
{
ResourceID = "[Firewall]EnableRemoteDesktopUserModeInTCP::[ooRemoteDesktop]EnableRemoteDesktop";
 Enabled = "True";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall";
 Name = "RemoteDesktop-UserMode-In-TCP";
 ModuleName = "NetworkingDsc";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Firewall as $MSFT_Firewall4ref
{
ResourceID = "[Firewall]EnableRemoteDesktopUserModeInUDP::[ooRemoteDesktop]EnableRemoteDesktop";
 Enabled = "True";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::14::9::Firewall";
 Name = "RemoteDesktop-UserMode-In-UDP";
 ModuleName = "NetworkingDsc";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_ScriptResource as $MSFT_ScriptResource1ref
{
ResourceID = "[Script]EnableFileAndPrinterSharing::[ooRemoteDesktop]EnableRemoteDesktop";
 GetScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n @{ Result = \"false\"; }\n } else {\n @{ Result = \"true\"; }\n }\n ";
 TestScript = "\n if (Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' }) {\n $false\n } else {\n $true\n }\n ";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooRemoteDesktop\\ooRemoteDesktop.schema.psm1::22::5::Script";
 SetScript = "\n Get-NetFirewallRule -DisplayGroup 'File and Printer Sharing' | Where-Object { $_.Enabled -eq 'False' } | Set-NetFirewallRule -Enabled True\n ";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_FileDirectoryConfiguration as $MSFT_FileDirectoryConfiguration1ref
{
ResourceID = "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory";
 Type = "Directory";
 Ensure = "Present";
 DestinationPath = "C:\\Temp";
 ModuleName = "PSDesiredStateConfiguration";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::5::5::File";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_xFileSystemAccessRule as $MSFT_xFileSystemAccessRule1ref
{
ResourceID = "[xFileSystemAccessRule]GrantAccessToTempDirectory::[ooTemp]CreateTempDirectory";
 Path = "C:\\Temp";
 Rights = {
    "FullControl"
};
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooTemp\\ooTemp.schema.psm1::11::5::xFileSystemAccessRule";
 Identity = "EVERYONE";
 ModuleName = "xSystemSecurity";
 ModuleVersion = "1.4.0.0";
 
DependsOn = {
    "[File]CreateTempDirectory::[ooTemp]CreateTempDirectory",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_NetAdapterName as $MSFT_NetAdapterName1ref
{
ResourceID = "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork";
 MacAddress = "00-03-85-4a-d6-d0";
 ModuleVersion = "7.2.0.0";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName";
 ModuleName = "NetworkingDsc";
 NewName = "SEATTLE";
 
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_IPAddress as $MSFT_IPAddress1ref
{
ResourceID = "[IPAddress]SetIPAddressSEATTLE::[ooNetwork]RenameNetwork";
 InterfaceAlias = "SEATTLE";
 AddressFamily = "IPv4";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress";
 ModuleName = "NetworkingDsc";
 IPAddress = {
    "10.0.1.113/24"
};
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_DefaultGatewayAddress as $MSFT_DefaultGatewayAddress1ref
{
ResourceID = "[DefaultGatewayAddress]SetDefaultGatewayAddressSEATTLE::[ooNetwork]RenameNetwork";
 AddressFamily = "IPv4";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::27::17::DefaultGatewayAddress";
 Address = "10.0.1.1";
 ModuleName = "NetworkingDsc";
 InterfaceAlias = "SEATTLE";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress1ref
{
ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE::[ooNetwork]RenameNetwork";
 AddressFamily = "IPv4";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::41::17::DnsServerAddress";
 Address = {
    "10.0.0.1"
};
 ModuleName = "NetworkingDsc";
 InterfaceAlias = "SEATTLE";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix1ref
{
ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE::[ooNetwork]RenameNetwork";
 ConnectionSpecificSuffix = "oftenon.com";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix";
 ModuleName = "NetworkingDsc";
 InterfaceAlias = "SEATTLE";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_NetAdapterName as $MSFT_NetAdapterName2ref
{
ResourceID = "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork";
 MacAddress = "00-03-1d-20-59-14";
 ModuleVersion = "7.2.0.0";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::12::13::NetAdapterName";
 ModuleName = "NetworkingDsc";
 NewName = "SEATTLE_HB";
 
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_IPAddress as $MSFT_IPAddress2ref
{
ResourceID = "[IPAddress]SetIPAddressSEATTLE_HB::[ooNetwork]RenameNetwork";
 InterfaceAlias = "SEATTLE_HB";
 AddressFamily = "IPv4";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::18::17::IPAddress";
 ModuleName = "NetworkingDsc";
 IPAddress = {
    "10.0.11.113/24"
};
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_DnsServerAddress as $MSFT_DnsServerAddress2ref
{
ResourceID = "[DnsServerAddress]SetDnsServerAddressSEATTLE_HB::[ooNetwork]RenameNetwork";
 AddressFamily = "IPv4";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::48::17::DnsServerAddress";
 ModuleName = "NetworkingDsc";
 InterfaceAlias = "SEATTLE_HB";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_DnsConnectionSuffix as $MSFT_DnsConnectionSuffix2ref
{
ResourceID = "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE_HB::[ooNetwork]RenameNetwork";
 ConnectionSpecificSuffix = "oftenon.com";
 SourceInfo = "C:\\Git\\OftenOn\\OftenOn\\DSCResources\\ooNetwork\\ooNetwork.schema.psm1::55::13::DnsConnectionSuffix";
 ModuleName = "NetworkingDsc";
 InterfaceAlias = "SEATTLE_HB";
 ModuleVersion = "7.2.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork",
     "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RoleResource as $MSFT_RoleResource1ref
{
ResourceID = "[WindowsFeature]Resource0::[WindowsFeatureSet]All";
 Ensure = "Present";
 SourceInfo = "::2::1::WindowsFeature";
 Name = "RSAT-AD-Tools";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RoleResource as $MSFT_RoleResource2ref
{
ResourceID = "[WindowsFeature]Resource1::[WindowsFeatureSet]All";
 Ensure = "Present";
 SourceInfo = "::8::1::WindowsFeature";
 Name = "RSAT-AD-PowerShell";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RoleResource as $MSFT_RoleResource3ref
{
ResourceID = "[WindowsFeature]Resource2::[WindowsFeatureSet]All";
 Ensure = "Present";
 SourceInfo = "::14::1::WindowsFeature";
 Name = "RSAT-Clustering";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RoleResource as $MSFT_RoleResource4ref
{
ResourceID = "[WindowsFeature]Resource3::[WindowsFeatureSet]All";
 Ensure = "Present";
 SourceInfo = "::20::1::WindowsFeature";
 Name = "RSAT-Clustering-CmdInterface";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RoleResource as $MSFT_RoleResource5ref
{
ResourceID = "[WindowsFeature]Resource4::[WindowsFeatureSet]All";
 Ensure = "Present";
 SourceInfo = "::26::1::WindowsFeature";
 Name = "RSAT-DNS-Server";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RoleResource as $MSFT_RoleResource6ref
{
ResourceID = "[WindowsFeature]Resource5::[WindowsFeatureSet]All";
 Ensure = "Present";
 SourceInfo = "::32::1::WindowsFeature";
 Name = "RSAT-RemoteAccess";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_RoleResource as $MSFT_RoleResource7ref
{
ResourceID = "[WindowsFeature]Resource6::[WindowsFeatureSet]All";
 Ensure = "Present";
 SourceInfo = "::38::1::WindowsFeature";
 Name = "Failover-Clustering";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[TimeZone]SetTimeZone"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential1ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAEc40Ab4mEFUiNRepFaoLvXg9j1pxuOJ5s+sY4iIZWpLMoYJ5rLufyYWtvmQ\nJ2aKSiqBQroAjmZDT5XuA3+0NKpn2MYS+u5JrmZoRNgcEOFhgXmt1YWF1CpFyZMqCcTt6gNh06BS\nZiYwTmi6k8BL13JxXzpJLvdeWEwBCc01WmJtLNo0jiu8d6W2GI746bNug9tuwIktPCKQRH2Pxdiz\nl3J7rAx4skxSaj6VxaIZnsDTm3NFBy+KM9LGdplkKpNl1r2HONKGLAFuHvGwX2zk5snHyfGSJgi5\n883sa+kcmJe4S026tbzYCLgjYp02bJstdq3rNm4CztdijAXRTecozIgwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQAxd4DO+Ou0M8mnPwehJo74AQGW1XaeShsb1sIgS3RJPomg==\n-----END CMS-----";
 UserName = "OFTENON\\Administrator";
 
};
 
instance of MSFT_xWaitForADDomain as $MSFT_xWaitForADDomain1ref
{
ResourceID = "[xWaitForADDomain]Create";
 DomainUserCredential = $MSFT_Credential1ref;
 RetryCount = 120;
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::244::17::xWaitForADDomain";
 DomainName = "oftenon.com";
 ModuleName = "xActiveDirectory";
 RetryIntervalSec = 15;
 ModuleVersion = "2.26.0.0";
 
DependsOn = {
    "[NetAdapterName]RenameSEATTLE::[ooNetwork]RenameNetwork",
     "[IPAddress]SetIPAddressSEATTLE::[ooNetwork]RenameNetwork",
     "[DefaultGatewayAddress]SetDefaultGatewayAddressSEATTLE::[ooNetwork]RenameNetwork",
     "[DnsServerAddress]SetDnsServerAddressSEATTLE::[ooNetwork]RenameNetwork",
     "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE::[ooNetwork]RenameNetwork",
     "[NetAdapterName]RenameSEATTLE_HB::[ooNetwork]RenameNetwork",
     "[IPAddress]SetIPAddressSEATTLE_HB::[ooNetwork]RenameNetwork",
     "[DnsServerAddress]SetDnsServerAddressSEATTLE_HB::[ooNetwork]RenameNetwork",
     "[DnsConnectionSuffix]SetDnsConnectionSuffixSEATTLE_HB::[ooNetwork]RenameNetwork"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential2ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAGjDQ33CR6UTaw1rl4HV8Hl7i1g5jzkXlvlP5coDWdCwU1SV2fLo+18zo8Cc\ncMFwdCeSiAyDPjtfY9HKZ5VY3wgDNWzOwP+e1INufvRwkccghFhBWO4rmSAGs1frob7L3XvfbuPK\nbZhN4RCe6FKpc3Y7xUmUFnpynymWdFImStxb4FQHcjejXO0f6bS247IeFI0YWJORY8bRcQAAchDA\nep18iEmb/FxFSGHXHW+rzRvt3ghsfypd++MJAAUIu4al3nMbRmsD7LvW/hvNBazSlL8RKVlxMwid\nSuZPhazE7wreFfT2aNPdG8OxxhUIT6GGDXWSN2wKo48Yl8YSe+AY6hMwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQiJj490EYTmhRkv5klNiw4oAQgin7pPGv+a0p1eC9OqHvmQ==\n-----END CMS-----";
 UserName = "OFTENON\\Administrator";
 
};
 
instance of MSFT_Computer as $MSFT_Computer1ref
{
ResourceID = "[Computer]Rename";
 Credential = $MSFT_Credential2ref;
 DomainName = "oftenon.com";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::256::17::Computer";
 Name = "SEC2N3";
 ModuleName = "ComputerManagementDsc";
 ModuleVersion = "6.4.0.0";
 
DependsOn = {
    "[xWaitForADDomain]Create"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential3ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAGDJDzJD6KR7sEPxQZhG/5aJ5dfa5IhGk2Xge9WZg47S1cZjHJYAmQgvqtQ5\nV29y/ZEKE0PLLSP+H1wet0E2N9NGU4mmuN5HSp/+VbLyyoNnvCtRMeFqS/7TrH7UOTZzECzJiLeQ\nv7Zr4G1TLlgS3jLqVqiV1D/ZTAqeOevswbEezXoGlNUYardlN9jn+uhkX2RyqUv4wlQmDMD9+vUD\nEPMi/O/RxcAVbN93kFFGW1V0Xoqs+T18xCvr5Sxy0YwVuJEWbrRjctAKNzkwPxHHizc64hhqjJNQ\nEwxBFTigcr4qBiKK/SvAxdmny2/sgI+4Weo7qjf8M8DQ34N1p5nBOGEwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQzJNPXrqpplC1oAti5SgBboAQsubLidvUmqldACZM2DztCw==\n-----END CMS-----";
 UserName = "OFTENON\\Administrator";
 
};
 
instance of MSFT_WaitForAll as $MSFT_WaitForAll1ref
{
ResourceID = "[WaitForAll]CreateLocalAdministrator";
 PsDscRunAsCredential = $MSFT_Credential3ref;
 NodeName = {
    "CHDC01"
};
 RetryCount = 120;
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::265::17::WaitForAll";
 ResourceName = "[xADUser]CreateLocalAdministrator";
 ModuleName = "PSDesiredStateConfiguration";
 RetryIntervalSec = 15;
 
ModuleVersion = "1.1";
DependsOn = {
    "[Computer]Rename"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_GroupResource as $MSFT_GroupResource1ref
{
ResourceID = "[Group]AddLocalAdministratorToAdministratorsGroup";
 MembersToInclude = {
    "OFTENON\\LocalAdministrator"
};
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::279::17::Group";
 GroupName = "Administrators";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[WaitForAll]CreateLocalAdministrator"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential4ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAF9Yg3sIcB1xUZfVoYmv2mxIqQeiK9I42vq1u7Fp/gB1e68e2mh6d3j/VW+0\n0MwbSROKkcmrlq9qlf070bMOpD/Ari//ry1ahFULnLi22/NNpUwtek/hoky8rC0gNlgR+a3JyPEK\ni3dGvMxaDz8fk88a6FNYj28FZsSLtZtdzg23FuQ0+viB9wtVibKfk2JDSU/laKB5769I01GZGnb3\nIdfEqLkzQ7JWrlPHVDfECtS524YCT9hkEAtwjWuFk8J+7Swg1CD5d8T/H4txHVlkCTXole171p2w\nbkz7P5bAYksdCM4MnvTRyC8YNVZ4t5DI0MiNXiVkKq9UZuo6/TW6iTswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQxdB8bK8Q52mr90W0wQIcT4AQmZwcQvNhb6nFPCiSedC8NQ==\n-----END CMS-----";
 UserName = "OFTENON\\Administrator";
 
};
 
instance of MSFT_WaitForAll as $MSFT_WaitForAll2ref
{
ResourceID = "[WaitForAll]WaitForClusterC2";
 PsDscRunAsCredential = $MSFT_Credential4ref;
 NodeName = {
    "SEC2N2"
};
 RetryCount = 120;
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::308::21::WaitForAll";
 ResourceName = "[xCluster]AddNodeToClusterC2";
 ModuleName = "PSDesiredStateConfiguration";
 RetryIntervalSec = 15;
 
ModuleVersion = "1.1";
DependsOn = {
    "[WindowsFeature]Resource0::[WindowsFeatureSet]All",
     "[WindowsFeature]Resource1::[WindowsFeatureSet]All",
     "[WindowsFeature]Resource2::[WindowsFeatureSet]All",
     "[WindowsFeature]Resource3::[WindowsFeatureSet]All",
     "[WindowsFeature]Resource4::[WindowsFeatureSet]All",
     "[WindowsFeature]Resource5::[WindowsFeatureSet]All",
     "[WindowsFeature]Resource6::[WindowsFeatureSet]All",
     "[Computer]Rename"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential5ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAELLyXuQ1b/CM0LeE00ldHpp6a+z46Z+CssXJKUg7oCNxDoUEFVapOWJtloe\nVDsx/MG/2cUNIS1dDBVcXe1Ja2eKJ+L11BDOtwyYBLawHswYtnQeZ1IgAz9gF5WecsGunEbEceAj\n0KZHWQDjKJPRT/OKtvW7D8/xINCjNICYQeZtmLZueTwqn/asDebVkyzaMI/P8zhax+kGb7UPQ2G2\nxUpbE4LdvPTllnlMo/hywRgmyYsUMUTf7d4U+3xyizoRv8P+B68XS78Wo+08uTXMMJybN+8MgsBS\nTdLRmL0eirLOWbSyEUPRwJkLCWXpLJow/4QrVNult76/glqqBe+zz6MwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQOijDdS5twQXiGT4TCtqa/4AQICx1WDaoiZ8+GkRuleTH8A==\n-----END CMS-----";
 UserName = "OFTENON\\Administrator";
 
};
 
instance of MSFT_xCluster as $MSFT_xCluster1ref
{
ResourceID = "[xCluster]AddNodeToClusterC2";
 IgnoreNetwork = {
    "10.0.11.0/24"
};
 StaticIPAddress = "10.0.1.121/24";
 DomainAdministratorCredential = $MSFT_Credential5ref;
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::321::21::xCluster";
 Name = "C2";
 ModuleName = "xFailOverCluster";
 ModuleVersion = "1.12.0.0";
 
DependsOn = {
    "[WaitForAll]WaitForClusterC2"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_ScriptResource as $MSFT_ScriptResource2ref
{
ResourceID = "[Script]AddStaticIPToClusterC2";
 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.121/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.121</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.121/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.121</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n if (Get-ClusterResource | Where-Object { $_.ResourceType -eq 'IP Address' } | Get-ClusterParameter -Name Address | Where-Object { $_.Value -eq $clusterStaticAddress.IPAddress }) {\n $true\n } else {\n $false\n }\n ";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::331::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.121/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.121</S>\n </En>\n </DCT>\n </Obj>\n</Objs>')\n\n $resourceName = \"IP Address $($clusterStaticAddress.IPAddress)\"\n Get-Cluster | Add-ClusterResource -Name $resourceName -Group 'Cluster Group' -ResourceType 'IP Address'\n Get-ClusterResource -Name $resourceName | Set-ClusterParameter -Multiple @{ Address = $clusterStaticAddress.IPAddress; Network = $clusterStaticAddress.Name; SubnetMask = $clusterStaticAddress.SubnetMask; }\n $dependencyExpression = (Get-Cluster | Get-ClusterResourceDependency -Resource 'Cluster Name').DependencyExpression\n if ($dependencyExpression -match '^\\((.*)\\)$') {\n $dependencyExpression = $Matches[1] + \" or [$resourceName]\"\n } else {\n $dependencyExpression = $dependencyExpression + \" or [$resourceName]\"\n }\n Get-Cluster | Set-ClusterResourceDependency -Resource 'Cluster Name' -Dependency $dependencyExpression\n # Without this, it won't start automatically on first try\n (Get-Cluster | Get-ClusterResource -Name $resourceName).PersistentState = 1\n ";
 ModuleName = "PSDesiredStateConfiguration";
 
ModuleVersion = "1.1";
DependsOn = {
    "[xClusterNetwork]RenameClusterNetworkC2Client",
     "[xClusterNetwork]RenameClusterNetworkC2Heartbeat"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_xClusterNetwork as $MSFT_xClusterNetwork1ref
{
ResourceID = "[xClusterNetwork]RenameClusterNetworkC2Client";
 Role = "3";
 AddressMask = "255.255.255.0";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::365::17::xClusterNetwork";
 Name = "Cluster Network SEATTLE (Client)";
 Address = "10.0.1.0";
 ModuleName = "xFailOverCluster";
 ModuleVersion = "1.12.0.0";
 
DependsOn = {
    "[xCluster]AddNodeToClusterC2"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_xClusterNetwork as $MSFT_xClusterNetwork2ref
{
ResourceID = "[xClusterNetwork]RenameClusterNetworkC2Heartbeat";
 Role = "1";
 AddressMask = "255.255.255.0";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::374::17::xClusterNetwork";
 Name = "Cluster Network SEATTLE_HB (Heartbeat)";
 Address = "10.0.11.0";
 ModuleName = "xFailOverCluster";
 ModuleVersion = "1.12.0.0";
 
DependsOn = {
    "[xCluster]AddNodeToClusterC2"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential6ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAKuDsZT3o5qN8M4L51/oL+v3//k6jV9Z0mBY2R57CuaKIijsMIlIiKK5PGUO\n/0tb1iq1TEiDxs/KBNaSvAfrwwNZSzmP5Xbg2FScNX6AcDAAuyI+Qz9bNdckiQz15/GgyTmvMLYK\nP/Vo+N1svekq9cdGLS90ps64fQyoEY6ncCKTtH6Qvo8E8p0oSbGRG6FWtW25XgagVSccErlb2Tmp\nLLcdalWfovzpsL4H/kP9T/e1MBGieQxIEMDImXStvBgoFwkImUXsKikp+zjdTYt7bJxxzMVnSAuG\nZyrPDt4xhteqCASheU9cilMypErUhgvEizjI4USDU9lTUoh0G0PvNLswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ/HNammpSbLGZ62QKcr2FCIAQH2rw8xjynlh+yXJkZOnkrw==\n-----END CMS-----";
 UserName = "OFTENON\\SQLEngineService";
 
};
 
instance of MSFT_Credential as $MSFT_Credential7ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBACKYqmhzLsE5AnGlN46VJU34jGCm30uJ/5gOyqxEuh5/VEjwNvz6hM/0BMRh\n3MxGwUbPp4nx3Bsv1Si03rvH+D4GjShZiH+F2Z1ZqOvF8vp+/20qS9SpP3Wx4mK1ES47HhyTbW5k\nCJN+92ZrVhKAuVZhUrKM++BDJrqx8Hto33LfkyBYlv1kIiDlCXhYVZMjIIUSshf5i4EVI7RAOUMt\nLwHe6+DOomUzt+ISP/+N3FwAP4pliShXoExW5lbJpydZfT5uR7W/3RoVHIrSO+t54iqyn2F9ixoU\nPB2plHrOMNQFiQnOhtdWV3dXqjHurBy0bH/wxKoL5gwU1wr8+K0/gMUwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQ01F4Zqoi0LKA1BhwrysrwoAQ3ZG2nuULLOORP3uk/67hsA==\n-----END CMS-----";
 UserName = "sa";
 
};
 
instance of MSFT_SqlSetup as $MSFT_SqlSetup1ref
{
Action = "Install";
 UpdateEnabled = "True";
 SecurityMode = "SQL";
 ResourceID = "[SqlSetup]InstallSQLServer";
 InstanceName = "MSSQLSERVER";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::389::17::SqlSetup";
 UpdateSource = "\\\\CHDC01\\Resources";
 SQLSysAdminAccounts = {
    "OFTENON\\LocalAdministrator"
};
 SourcePath = "\\\\CHDC01\\Resources\\SQLServer2012";
 SQLSvcAccount = $MSFT_Credential6ref;
 ModuleVersion = "12.5.0.0";
 ModuleName = "SqlServerDsc";
 Features = "SQLENGINE";
 SAPwd = $MSFT_Credential7ref;
 
DependsOn = {
    "[xCluster]AddNodeToClusterC2"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_SqlWindowsFirewall as $MSFT_SqlWindowsFirewall1ref
{
ResourceID = "[SqlWindowsFirewall]AddFirewallRuleSQL";
 InstanceName = "MSSQLSERVER";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::403::17::SqlWindowsFirewall";
 Features = "SQLENGINE";
 ModuleName = "SqlServerDsc";
 ModuleVersion = "12.5.0.0";
 SourcePath = "\\\\CHDC01\\Resources\\SQLServer2012";
 
DependsOn = {
    "[SqlSetup]InstallSQLServer"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_SqlAlwaysOnService as $MSFT_SqlAlwaysOnService1ref
{
ResourceID = "[SqlAlwaysOnService]EnableAlwaysOn";
 ServerName = "SEC2N3";
 InstanceName = "MSSQLSERVER";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::412::17::SqlAlwaysOnService";
 ModuleName = "SqlServerDsc";
 ModuleVersion = "12.5.0.0";
 
DependsOn = {
    "[SqlWindowsFirewall]AddFirewallRuleSQL"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential8ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBANNz3NGqYxlXGkEXYb3V9u8LAd5k2r/gHoNACJ80ayapB5RFxIloIydILJPy\njltnfWMHDY8i19kOSkUnAixcvs1wuu3O8+M7SzoZvlzu6ile2AB+QWdiN0O+elEaUMnWy4uPfr8M\n7br7gUmA/UqVgFXaIaxgU10Zy64D+eqfuQ2UZ/xKwiEwkPoHcqSFLv87x8MFApnFXzc3jPezY4LJ\nHOc5/JzgDRJhSKF2wSeLgvIgSHKVdNfuNMskwowICS2ggdoFZBBawH7kKk3lIYyxpTBh3v3gIVS0\nhumPXJIPRgzAkeWDDch5ol2/CRd0IhllZVr/8v3f2K2cvfty2PhiTuswPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQUbPw7LFxhORqq2DUPETrjoAQmRQicKsDm8GC7ix+7iSxdg==\n-----END CMS-----";
 UserName = "OFTENON\\LocalAdministrator";
 
};
 
instance of MSFT_SqlServerLogin as $MSFT_SqlServerLogin1ref
{
ResourceID = "[SqlServerLogin]CreateLoginForAG";
 PsDscRunAsCredential = $MSFT_Credential8ref;
 ServerName = "SEC2N3";
 InstanceName = "MSSQLSERVER";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::420::17::SqlServerLogin";
 Name = "OFTENON\\SQLEngineService";
 ModuleName = "SqlServerDsc";
 ModuleVersion = "12.5.0.0";
 
DependsOn = {
    "[SqlSetup]InstallSQLServer"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_SqlServerEndpoint as $MSFT_SqlServerEndpoint1ref
{
ResourceID = "[SqlServerEndpoint]CreateHadrEndpoint";
 ServerName = "SEC2N3";
 InstanceName = "MSSQLSERVER";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::431::17::SqlServerEndpoint";
 EndpointName = "Hadr_endpoint";
 ModuleName = "SqlServerDsc";
 Port = 5022;
 ModuleVersion = "12.5.0.0";
 
DependsOn = {
    "[SqlAlwaysOnService]EnableAlwaysOn"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential9ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBALf2xGBLgfbpWXQZP7MS0+WA0v+G9aAgrA+8uSL8LHaL8UhaPgmDbvDnhlxY\nIUY+3Zv4DLqkHuWpP93kfK0asNklH8l3zqRM1fWG3ws4InybuLQwyrV4gbME4WKatEhCqGPMqkO0\nAL3mHmuh8SHd6tLDTkK+SPZqYa3l2qLBovBN3ZPbNFx1g5AiHXpZ/cBPiuNLTuLlr53qVqSSfJWx\nQiCuTVkci+nK63i0PCKuI4WuxNTM640o1GR5ydPFHLl6yUYw7uGHIPjT8U5BAuAWUO5N00o3TqFD\n7bnD93ORPYUO9ht3tjKgbEzLICbW3vhGUFq1POEtc6keFo5IWS8GF3wwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQT0wuGTeKJ55FE+PiDdPazoAQwK//aZTcJLsYoUlb+ramgg==\n-----END CMS-----";
 UserName = "OFTENON\\LocalAdministrator";
 
};
 
instance of MSFT_SqlServerEndpointPermission as $MSFT_SqlServerEndpointPermission1ref
{
ResourceID = "[SqlServerEndpointPermission]AddLoginForAGEndpointPermission";
 Permission = "CONNECT";
 PsDscRunAsCredential = $MSFT_Credential9ref;
 ServerName = "SEC2N3";
 InstanceName = "MSSQLSERVER";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::442::17::SqlServerEndpointPermission";
 Name = "Hadr_endpoint";
 ModuleName = "SqlServerDsc";
 Principal = "OFTENON\\SQLEngineService";
 ModuleVersion = "12.5.0.0";
 
DependsOn = {
    "[SqlServerEndpoint]CreateHadrEndpoint",
     "[SqlServerLogin]CreateLoginForAG"};
 ConfigurationName = "OftenOn";
};
instance of MSFT_Credential as $MSFT_Credential10ref
{
Password = "-----BEGIN CMS-----\nMIICKwYJKoZIhvcNAQcDoIICHDCCAhgCAQAxggHTMIIBzwIBADCBtjCBqDEXMBUGA1UEChMOVmly\ndHVhbCBFbmdpbmUxETAPBgNVBAsTCFRlc3QgTGFiMRwwGgYJKoZIhvcNAQkBFg1sYWJAbGFiLmxv\nY2FsMQ8wDQYDVQQHEwZPeGZvcmQxDTALBgNVBAgTBE9YT04xCzAJBgNVBAYTAkdCMS8wLQYDVQQD\nEyZWaXJ0dWFsIEVuZ2luZSBUZXN0IExhYiBSb290IEF1dGhvcml0eQIJAMRIv0r6jbtXMA0GCSqG\nSIb3DQEBBzAABIIBAL9aRozUNCf0xPBwaBv20TUg1Dn78g3ppu4NmAnsngCCeDk8NXVkcRF3ben8\nRtMYUebyv18dzYIMWE6iQy8IFN3Lzjgc4Z149CPIPCD21B8gSPHEJeChVVeWjURSePvWIcxfvnQs\n6/OclYTzohjGlggdTTK1IZxjXnZeGPyREFgjZgfcnSRN831LGoA6TyLr/o3v6tg4Gr/sc2C4ihfY\neDty22d6vSbOLKFxOYH8vWjBZtD1SnYx1uASXW1OF1Yhj2QfAaUoONh+w8Ik30hFaEhnwjRVAUFm\n76t1SBOnnpyaR80qAxz/MtVPrwK5oiCvIMff70UYX637jpyGMR7BB/UwPAYJKoZIhvcNAQcBMB0G\nCWCGSAFlAwQBKgQQiOBfTQCo6WiuRh0hGzpiwIAQ4kA5XjOFi/0DO1kqFyfuZQ==\n-----END CMS-----";
 UserName = "OFTENON\\LocalAdministrator";
 
};
 
instance of MSFT_SqlServerPermission as $MSFT_SqlServerPermission1ref
{
ResourceID = "[SqlServerPermission]AddPermissionsForAGMembership";
 Permission = {
    "AlterAnyAvailabilityGroup",
    "ViewServerState"
};
 PsDscRunAsCredential = $MSFT_Credential10ref;
 ServerName = "SEC2N3";
 InstanceName = "MSSQLSERVER";
 Ensure = "Present";
 SourceInfo = "C:\\Git\\OftenOn\\oftenon\\Configuration\\OftenOn.ps1::455::17::SqlServerPermission";
 ModuleName = "SqlServerDsc";
 Principal = "NT AUTHORITY\\SYSTEM";
 ModuleVersion = "12.5.0.0";
 
DependsOn = {
    "[SqlSetup]InstallSQLServer"};
 ConfigurationName = "OftenOn";
};
instance of OMI_ConfigurationDocument
  
                    {
 Version="2.0.0";
   
                        MinimumCompatibleVersion = "2.0.0";
   
                        CompatibleVersionAdditionalProperties= {"Omi_BaseResource:ConfigurationName"};
   
                        Author="cody";
   
                        GenerationDate="06/20/2019 00:28:14";
   
                        GenerationHost="THINKY";
  
                        ContentType="PasswordEncrypted";
   
                        Name="OftenOn";
  
                    };