Test‑SqlDscRSInstalled - dsccommunity/SqlServerDsc GitHub Wiki
Tests if a SQL Server Reporting Services or Power BI Report Server instance is installed.
Test-SqlDscRSInstalled [-InstanceName] <String> [<CommonParameters>]
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.
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.
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.
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
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.