Scripts/Reskit9/All Resources/xExchange/xExchange/Examples/ConfigureNamespaces/InternetFacingSite/InternetFacingSite-Config.psd1

@{
    AllNodes = @(
        #Settings under 'NodeName = *' apply to all nodes.
        @{
            NodeName        = '*'

            #CertificateFile and Thumbprint are used for securing credentials. See:
            #http://blogs.msdn.com/b/powershell/archive/2014/01/31/want-to-secure-credentials-in-windows-powershell-desired-state-configuration.aspx
            
            #The location on the compiling machine of the public key export of the certfificate which will be used to encrypt credentials
            CertificateFile = 'C:\publickey.cer' 

            #Thumbprint of the certificate being used for encrypting credentials
            Thumbprint      = '651bc10c5deade112744256edfd87503e30691eb' 
        }

        #Individual target nodes are defined next
        @{
            NodeName = 'e15-1'
            CASID    = 'Site1CAS'
        }

        @{
            NodeName = 'e15-2'
            CASID    = 'Site2CAS'
        }
    );

    #CAS settings that are unique per site will go in separate hash table entries.
    Site1CAS = @(
        @{
            ExternalUrlActiveSync   = "https://mail.mikelab.local/Microsoft-Server-ActiveSync" 
            ExternalUrlECP          = "https://mail.mikelab.local/ecp"
            ExternalUrlMAPI         = "https://mail.mikelab.local/mapi"
            ExternalUrlOAB          = "https://mail.mikelab.local/oab"
            ExternalUrlOA           = "mail.mikelab.local"
            ExternalUrlOWA          = "https://mail.mikelab.local/owa"
            ExternalUrlEWS          = "https://mail.mikelab.local/ews/exchange.asmx" 

            InternalNLBFqdn         = 'mail-site1.mikelab.local'
            AutoDiscoverSiteScope   = 'Site1'
        }
    );

    Site2CAS = @(
        @{
            ExternalUrlActiveSync   = ""
            ExternalUrlECP          = ""
            ExternalUrlMAPI         = ""
            ExternalUrlOAB          = ""
            ExternalUrlOA           = ""
            ExternalUrlOWA          = ""
            ExternalUrlEWS          = ""

            InternalNLBFqdn         = 'mail-site2.mikelab.local'
            AutoDiscoverSiteScope   = 'Site2'
        }
    );
}