Examples/Sample_Website_ConfigurationData.psd1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Suppressing this rule because this isn't a module manifest
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSMissingModuleManifestField', '')]
param()

# Hashtable to define the environmental data
@{
    # Node specific data
    AllNodes = @(

       # All the WebServers have the following identical information
       @{
            NodeName           = '*'
            WebsiteName        = 'FourthCoffee'
            SourcePath         = 'C:\BakeryWebsite\'
            DestinationPath    = 'C:\inetpub\FourthCoffee'
            DefaultWebSitePath = 'C:\inetpub\wwwroot'
       },

       @{
            NodeName           = 'WebServer1.fourthcoffee.com'
            Role               = 'Web'
        },

       @{
            NodeName           = 'WebServer2.fourthcoffee.com'
            Role               = 'Web'
        }
    );
}