Get‑SqlDscRSWebPortalApplicationName - dsccommunity/SqlServerDsc GitHub Wiki
Gets the Reporting Services web portal application name based on version.
Get-SqlDscRSWebPortalApplicationName [-SetupConfiguration] <Object>
[<CommonParameters>]
Gets the Reporting Services web portal application name based on the SQL Server major version. SQL Server 2016 (version 13) and later use 'ReportServerWebApp', while earlier versions use 'ReportManager'.
The setup configuration object can be obtained using the
Get-SqlDscRSSetupConfiguration command and passed via the pipeline.
See more information at: https://docs.microsoft.com/en-us/sql/reporting-services/breaking-changes-in-sql-server-reporting-services-in-sql-server-2016
Get-SqlDscRSSetupConfiguration -InstanceName 'SSRS' | Get-SqlDscRSWebPortalApplicationName
Returns 'ReportServerWebApp' or 'ReportManager' based on the SQL Server version, using pipeline input from the setup configuration object.
Specifies the setup configuration object for the Reporting Services instance.
This can be obtained using the Get-SqlDscRSSetupConfiguration command.
This parameter accepts pipeline input.
Type: Object
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.