Test‑SqlDscRSInstalled - dsccommunity/SqlServerDsc GitHub Wiki

SYNOPSIS

Tests if a SQL Server Reporting Services or Power BI Report Server instance is installed.

SYNTAX

Test-SqlDscRSInstalled [-InstanceName] <String> [<CommonParameters>]

DESCRIPTION

Tests if a SQL Server Reporting Services or Power BI Report Server instance is installed on the local server. The command returns $true if the specified instance exists and $false if it does not.

EXAMPLES

EXAMPLE 1

Test-SqlDscRSInstalled -InstanceName 'SSRS'

Tests if a SQL Server Reporting Services instance named 'SSRS' is installed. Returns $true if the instance exists and $false if it does not.

EXAMPLE 2

Test-SqlDscRSInstalled -InstanceName 'PBIRS'

Tests if a Power BI Report Server instance named 'PBIRS' is installed. Returns $true if the instance exists and $false if it does not.

PARAMETERS

-InstanceName

Specifies the name of the SQL Server Reporting Services or Power BI Report Server instance to check for. This parameter is required.

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
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

OUTPUTS

System.Boolean

Returns $true if the specified instance exists and $false if it does not.

NOTES

RELATED LINKS

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