Disable‑SqlDscRsSecureConnection - dsccommunity/SqlServerDsc GitHub Wiki
Disables secure connection for SQL Server Reporting Services.
Disable-SqlDscRsSecureConnection [-Configuration] <Object> [-PassThru] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
Disables secure connection (TLS/SSL) for SQL Server Reporting Services or Power BI Report Server by setting the secure connection level to 0.
This command calls the SetSecureConnectionLevel method on the
MSReportServer_ConfigurationSetting CIM instance with a level value
of 0, which disables the secure connection requirement for connections
to the Reporting Services web service and portal.
The configuration CIM instance can be obtained using the
Get-SqlDscRSConfiguration command and passed via the pipeline.
Get-SqlDscRSConfiguration -InstanceName 'SSRS' | Disable-SqlDscRsSecureConnection
Disables secure connection for the SSRS instance by piping the configuration
from Get-SqlDscRSConfiguration.
$config = Get-SqlDscRSConfiguration -InstanceName 'SSRS'
Disable-SqlDscRsSecureConnection -Configuration $config
Disables secure connection for the SSRS instance by passing the configuration as a parameter.
Get-SqlDscRSConfiguration -InstanceName 'SSRS' | Disable-SqlDscRsSecureConnection -PassThru
Disables secure connection for the SSRS instance and returns the configuration CIM instance.
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: FalseIf specified, suppresses the confirmation prompt.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalseIf specified, returns the configuration CIM instance after disabling secure connection.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: FalsePrompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseShows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
The Reporting Services service may need to be restarted for the change to take effect.