Scripting and PowerShell with Reporting Services
Reporting Services supports a wide range of development and management scenarios through script, including the rs.exe command line utility, PowerShell cmdlets for SharePoint mode report servers, and leveraging the Reporting Services object model from PowerShell for both Native and SharePoint mode.
Administrators can write script in Microsoft Visual Basic to automate how they deploy and manage a report server installation. Administrators can also generate and run Transact-SQL scripts that create, configure, and update a report server database. Administrators can also use the record and playback script features in SQL Server Management Studio to automate routine maintenance tasks.
Developers can create custom applications that include script. You can run script that makes calls to the Report Server Web service. Almost any operation that you can write in managed code can also be written in script.
Reporting Services supports Microsoft Visual Basic .NET script as the script language that can be processed by the RS.exe utility, a script host that runs on the report server.
Reporting Services SharePoint mode PowerShell cmdlets and samples
Reporting Services SharePoint mode includes Reporting Services cmdlets for report server administration.
PowerShell cmdlets for Reporting Services SharePoint Mode Includes the following examples:
Create a service application and proxy
Review and update a delivery extension
Get and set Properties of the Reporting Service Application Database, for example database timeout
List Data Extensions
Reporting Services Object model and Powershell samples
PowerShell calling the core object model and for the most part valid for SharePoint and native mode, for example the migration work, subscription work, and more related samples for subscriptions work in SQL15.
Use PowerShell to Change and List Reporting Services Subscription Owners and Run a Subscription.
Use PowerShell to Create an Azure VM With a Native Mode Report Server.
See the section "Access the WMI classes using PowerShell" in Access the Reporting Services WMI Provider.
RS.exe scripting samples
Sample Reporting Services rs.exe Script to Migrate Content between Report Servers.
For additional script, application, and extension examples, see SQL Server Reporting Services Product Samples.
See Also
RS.exe Utility (SSRS) Script Deployment and Administrative Tasks Script with the rs.exe Utility and the Web Service