Skip to content

Get‑SqlDscRSConfiguration

dscbot edited this page Jan 2, 2026 · 1 revision

SYNOPSIS

Gets the SQL Server Reporting Services configuration CIM instance.

SYNTAX

Get-SqlDscRSConfiguration [-InstanceName] <String> [[-Version] <Int32>] 
 [<CommonParameters>]

DESCRIPTION

Gets the SQL Server Reporting Services or Power BI Report Server configuration CIM instance (MSReportServer_ConfigurationSetting). This CIM instance can be used with other commands that manage Reporting Services configuration, such as Enable-SqlDscRsSecureConnection and Disable-SqlDscRsSecureConnection.

The configuration CIM instance provides access to properties like SecureConnectionLevel, DatabaseServerName, VirtualDirectoryReportServer, and methods for managing Reporting Services configuration.

EXAMPLES

EXAMPLE 1

Get-SqlDscRSConfiguration -InstanceName 'SSRS'

Returns the configuration CIM instance for the SSRS instance. The version is automatically detected.

EXAMPLE 2

Get-SqlDscRSConfiguration -InstanceName 'SSRS' -Version 15

Returns the configuration CIM instance for the SSRS instance with explicit version 15 (SQL Server 2019).

EXAMPLE 3

Get-SqlDscRSConfiguration -InstanceName 'SSRS' | Enable-SqlDscRsSecureConnection

Gets the configuration CIM instance for the SSRS instance and enables secure connection using the pipeline.

PARAMETERS

-InstanceName

Specifies the name of the Reporting Services instance. This is a mandatory parameter.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Version

Specifies the major version number of the Reporting Services instance. If not specified, the version is automatically detected using Get-SqlDscRSSetupConfiguration.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: 0
Accept pipeline input: False
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

None.

OUTPUTS

Microsoft.Management.Infrastructure.CimInstance

Returns the MSReportServer_ConfigurationSetting CIM instance for the

specified Reporting Services instance.

NOTES

RELATED LINKS

Home

Commands

Resources

Usage

Clone this wiki locally