脚本编写和带 Reporting Services 的 PowerShell

Reporting Services 通过脚本支持各种不同的开发和管理应用场景。 这些应用场景包括 SharePoint 模式报表服务器的 rs.exe 命令行实用程序和 PowerShell cmdlet。 你还可以将 PowerShell 中的 Reporting Services 对象模型同时用于本机和 SharePoint 模式。

  • 管理员可以用 Microsoft Visual Basic 编写脚本来自动部署和管理报表服务器安装。 管理员还可以生成和运行 Transact-SQL 脚本来创建、配置和更新报表服务器数据库。 管理员还可以使用 SQL Server Management Studio 中的记录和播放脚本功能来自动执行日常维护任务。

  • 开发人员可以创建包括脚本的自定义应用程序。 您可以运行调用 Report Server Web 服务的脚本。 几乎所有可以用托管代码编写的操作都可以用脚本编写。

  • RS.exe 实用程序(在报表服务器上运行的脚本主机)以 Reporting Services 中支持的脚本语言处理 [!INCLUDE[msCoName] (../../includes/msconame-md.md)] Visual Basic .NET 脚本。 `

Reporting Services SharePoint 模式 PowerShell cmdlet 和示例

Reporting Services SharePoint 模式包括用于报表服务器管理的 Reporting Services cmdlet。

Reporting Service 对象模型和 PowerShell 示例

RS.exe 脚本示例

RS.exe 实用工具 (SSRS)
脚本部署和管理任务
使用 rs.exe 实用程序和 Web 服务编写脚本