Skip to content

Get‑SqlDscRSUrlReservation

dscbot edited this page Jan 3, 2026 · 1 revision

SYNOPSIS

Gets the URL reservations for SQL Server Reporting Services.

SYNTAX

Get-SqlDscRSUrlReservation [-Configuration] <Object> [<CommonParameters>]

DESCRIPTION

Gets the URL reservations for SQL Server Reporting Services or Power BI Report Server by calling the ListReservedUrls method on the MSReportServer_ConfigurationSetting CIM instance.

The configuration CIM instance can be obtained using the Get-SqlDscRSConfiguration command and passed via the pipeline.

EXAMPLES

EXAMPLE 1

Get-SqlDscRSConfiguration -InstanceName 'SSRS' | Get-SqlDscRSUrlReservation

Gets all URL reservations for the SSRS instance.

EXAMPLE 2

$config = Get-SqlDscRSConfiguration -InstanceName 'SSRS'
Get-SqlDscRSUrlReservation -Configuration $config

Gets all URL reservations for the SSRS instance by passing the configuration as a parameter.

PARAMETERS

-Configuration

Specifies the MSReportServer_ConfigurationSetting CIM instance for the Reporting Services instance. This can be obtained using the Get-SqlDscRSConfiguration 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: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.Management.Infrastructure.CimInstance

Accepts MSReportServer_ConfigurationSetting CIM instance via pipeline.

OUTPUTS

Microsoft.Management.Infrastructure.CimMethodResult

Returns the raw CIM method result containing Application and UrlString

arrays with the reserved URL information.

NOTES

The returned object contains two arrays:

  • Application: Array of application names (e.g., 'ReportServerWebService', 'ReportServerWebApp', 'ReportManager')
  • UrlString: Array of URL strings (e.g., 'http://+:80')

The arrays are correlated by index, so Application[0] corresponds to UrlString[0].

RELATED LINKS

Home

Commands

How-to

Resources

Usage

Clone this wiki locally