Download Rsscripter Tool

/ Comments off
Download Rsscripter Tool 6,8/10 2606 votes

Oct 24, 2007 - Although the Microsoft SQL Server Reporting Services (SSRS) tools. Reporting Services Scripter comes in a download called RSScripter.zip. Anyone happen to have this tool handy? I used in the past to successfully migrate a 2005 SSRS instance to 2208 R2 and am in a similar boat now. SQL Scripter is an easy to use data export and import utility for Microsoft SQL Server and SQL Azure.

We have a SSRS 2008 (not R2) instance with a few hundred reports, and now, on a new machine we have installed a 2012 instance of SSRS. We need to migrate all the reports, while keeping all their rights and privileges, plus the datasources with credentials (some of them have local data sources). Is there a way to achieve this? The high number of reports does not allow us do it manually one by one. We tried to migrate a report, but as I said, the rights and credentials were lost. Any ideas?

Thank you in advance!

ddanielddaniel

2 Answers

Best is to use Reporting Services Scripter

Reporting Services Scripter is a .NET Windows Forms application that enables the scripting and transfer of groups of SSRS catalog items from one server to another or from one SSRS folder to another on the same server. Reporting Services Scripter is flexible and lets you transfer catalog item properties, such as serverside report parameters, Subscriptions (both normal and> Not the answer you're looking for? Browse other questions tagged sql-servermigrationssrs-2008ssrs-2012 or ask your own question.

SQL Server Reporting Services PowerShell utilities

Synopsis

This project contains PowerShell scripts that allows you to perform various operations with SQL Server Reporting Services. In order to use the scripts included in this project successfully, please download/clone the entire project as there are dependencies between the scripts.

All of our scripts were written with the assumption that you will be executing them against SQL Server 2016 Reporting Services default instance (i.e. mssqlserver). However, we understand this may not be the case for you. So for each script, you will see that we have provided a way for you to specify the name and/or version of your SQL Server Reporting Services instance name. Sometimes the version of your SQL Server instance is also required. If you do not provide one, we will assume that you want to execute this against the default instance.

PowerShell Version

Please ensure you're running PowerShell version 3.0+

2016

Rsscripter Sql 2016

Install

or

or

List of commands

The following is a list of commands which are available for you to use once you follow the steps in Installation

CommandDescription
Backup-RsEncryptionKeyThis command backs up the encryption key used by SQL Server Reporting Services to protect sensitive content.
Connect-RsReportServerConnects to Reporting Services and sets default connection information
Copy-RsSubscriptionThis command adds a retrieved subscription to an existing report. For use with Get-RsSubscription.
Export-RsSubscriptionXmlThis command exports a collection of subscriptions to an XML file on disk.
Get-RsFolderContentThis command lists all catalog items under a folder.
Get-RsDataSourceThis command lists information about data source located at the specified path.
Get-RsItemReferenceThis command gets the item references of a report or a dataset.
Get-RsItemDataSourceThis command fetches embedded data sources associated to a report.
Get-RsCatalogItemRoleThis command retrieves access on catalog items for users or groups.
Get-RsRestItemDataSourceThis command fetches embedded data sources associated to a Paginated report or a Power BI report using the REST Endpoint.
Get-RsSubscriptionThis command retrieves information about subscriptions for a report.
Grant-RsSystemRoleThis command grants access to SQL Server Reporting Services to users or groups. Alias: Grant-AccessToRs
Grant-RsCatalogItemRoleThis script grants access to catalog items to users or groups. Alias: Grant-AccessOnCatalogItem
Import-RsSubscriptionXmlThis command imports a collection of subscriptions from an XML file on disk, typically created via Export-RsSubscriptionXml.
Initialize-RsThis command initializes Report Server post installation. The database MUST be configured and URLs MUST be reserved prior to running this command.
New-RsConfigurationSettingObjectThis command creates a new RSConfigurationSettingObject which is used to interact with the WMI Provider.
New-RsDataSourceThis command creates/overwrites data source to the specified path.
New-RsFolderThis command creates a new folder in the specified path.
New-RsRestCredentialsByUserObjectThis command creates a CredentialsByUser object to be used by Set-RsRestItemDataSource command.
New-RsRestCredentialsInServerObjectThis command creates a CredentialsInServer object to be used by Set-RsRestItemDataSource command.
New-RsRestFolderThis command creates a new folder in the specified path using the REST Endpoint.
New-RsRestSessionThis command creates a session object to be specified for all subsequent calls to the REST Endpoint.
New-RsSubscriptionThis command adds a new subscription to an existing report.
New-RsScheduleXmlThis command creates an XML string definition of a subscription schedule. For use with the -Schedule parameter or New-RsSubscription.
New-RsWebServiceProxyThis command creates a new Web Service Proxy which is used to interact with the SOAP Endpoint.
Out-RsCatalogItemThis command downloads a catalog item.
Out-RsFolderContentThis command all catalog items in folder.
Out-RsRestFolderContentThis command downloads all catalog items under a folder using the REST Endpoint.
Out-RsRestCatalogItemThis command downloads a catalog item using the REST Endpoint.
Register-PowerBIThis command registers Power BI information with SQL Server Reporting Services. Alias: Register-RSPowerBI
Remove-RsCatalogItemThis command removes catalog item located at the specified path.
Remove-RsRestCatalogItemThis command removes catalog item located at the specified path using the REST Endpoint.
Remove-RsRestFolderThis command removes folder located at the specified path using the REST Endpoint.
Remove-RSSubscriptionThis command removes a subscription associated with a report.
Restore-RsEncryptionKeyThis command restores encryption key on to the SQL Server Reporting Services.
Revoke-RsCatalogItemAccessThis command revokes access on catalog item from users or groups. Alias: Revoke-AccessOnCatalogItem
Revoke-RsSystemAccessThis command revokes access on SQL Server Reporting Services from users or groups. Alias: Revoke-AccessToRs
Set-RsDatabaseThis command configures the database used by SQL Server Reporting Services.
Set-RsDatabaseCredentialsThis command configures the credentials to use when connecting to the database used by SQL Server Reporting Services.
Set-RsDataSetThis command links a report to a dataset. Alias: Set-RsDataSetReference
Set-RsDataSourceThis command updates information associated to a data source. Alias: Set-RsDataSourceReference
Set-RsDataSourcePasswordThis command sets the password associated with a data source.
Set-RsEmailSettingsThis command configures the SQL Server Reporting Services email settings to use basic authentication. Alias: Set-RsEmailSettingsAsBasicAuth, Set-RsEmailSettingsAsNoAuth, Set-RsEmailSettingsAsNTLMAuth
Set-RsItemDataSourceThis command updates embedded data source associated to a report.
Set-RsRestItemDataSourceThis command updates embedded data sources associated to a Paginated report or a Power BI Report using the REST endpoint.
Set-RsSharedDataSourceThis command links a report or a dataset to a data source.
Set-RsUrlReservationThis command configures the SQL Server Reporting Services URLs.
Set-PbiRsUrlReservationThis command configures the Power BI Report Server URLs.
Set-RsSubscriptionThis command updates existing subscriptions piped from Get-RsSubscription
Write-RsCatalogItemThis command uploads a report, a dataset or a data source using the SOAP Endpoint..
Write-RsFolderContentThis uploads all reports, datasets and data sources in a folder.
Write-RsRestCatalogItemThis command uploads a report, a dataset or a mobile report using the REST Endpoint.
Write-RsRestFolderContentThis uploads all reports, datasets, data sources, mobile reports and Power BI reports in a folder using the REST Endpoint.

SQL Server Versions

Some of the commands listed above allow you to optionally specify the version of your SQL Server Reporting Services instance. The following is a list of versions associated to each SQL Server Reporting Services release.

SQL Server ReleaseVersion
SQL Server 201211
SQL Server 201412
SQL Server 201613
SQL Server 201714

Motivation

The motivation behind this project was to help users perform SQL Server Reporting Services operations via the command line.

API Reference

All of the APIs used by this project are publicly available. There are 2 types of APIs used in this repository: SOAP and WMI. You can find more details about the SOAP API at https://msdn.microsoft.com/en-us/library/ms154052.aspx and the WMI API at https://msdn.microsoft.com/en-us/library/ms152836.aspx. In general, you will use SOAP API for operations you would perform using Report Server and Web Portal whereas you will use WMI API for operations you would perform using Reporting Services Configuration Manager.

Local testing and development

To verify the versions installed

After you clone the repo you can make local changes and install them in your local machine with

For debugging you can set the verbose logging with $VerbosePreference = 'continue'

Test

For running tests locally you need a local default instance of SQL Server Reporting Services and Pester

To install Pester execute

To excute the tests run (this will execute the CatalogItems test only which doesn't change the local Reporting Services Installation)

Tool

Style Guidelines

If you have any scripts you would like to share, we request you to please format your scripts according to the guidelines created by the team behind the DSC Resource Kit. (https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md) and the PowerShell verbs https://msdn.microsoft.com/en-us/library/ms714428(v=vs.85).aspx

Contributions

For contributions please provide the minimun possible increment per Pull Request so it can reviewed and merged quickly.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.