Get‑SqlDscRSVersion - dsccommunity/SqlServerDsc GitHub Wiki

SYNOPSIS

Gets the SQL Server Reporting Services version.

SYNTAX

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

DESCRIPTION

Gets the SQL Server Reporting Services version from the setup configuration. This is used to determine version-specific behavior.

The setup configuration object can be obtained using the Get-SqlDscRSSetupConfiguration command and passed via the pipeline.

EXAMPLES

EXAMPLE 1

Get-SqlDscRSSetupConfiguration -InstanceName 'SSRS' | Get-SqlDscRSVersion

Returns the version for the SSRS instance (e.g. 15.0.1100.0 for SQL 2019).

PARAMETERS

-Configuration

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: 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

System.Management.Automation.PSCustomObject

Accepts setup configuration object via pipeline.

OUTPUTS

System.Version

Returns the version of the Reporting Services instance.

NOTES

RELATED LINKS

⚠️ **GitHub.com Fallback** ⚠️