Examples/Resources/xSQLServerRSConfig/1-DefaultConfiguration.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<#
.EXAMPLE
    This example performs a default SSRS configuration. It will initialize SSRS
    and register default Report Server Web Service and Report Manager URLs:
 
    http://localhost:80/ReportServer (Report Server Web Service)
 
    http://localhost:80/Reports (Report Manager)
#>

Configuration Example
{
    Import-DscResource -ModuleName xSqlServer

    node localhost {
        xSQLServerRSConfig DefaultConfiguration
        {
            InstanceName = 'MSSQLSERVER'
            RSSQLServer = 'localhost'
            RSSQLInstanceName = 'MSSQLSERVER'
        }
    }
}