Skip to content

maniishpawar/reporting-services-manager

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

Reporting Services Manager

Base on powershell this (basic) tool is used to manage reporting services (SSRS).

Commands decription

Create a folder

CreateFolder -ReportServerUri reportServerUri -folderName foldername -folderPath "/" -folderDescription "Description"

with parameters:

  • ReportServerUri: web service url
  • folderName: name of the folder
  • folderpath: path of the folder ("/" for root)
  • folderDescription: Set description properties to the created folder

Create a report (get online with a rdl file, local to server)

UploadReport -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl" -reportPath "/" -reportName "Report Name" -rdlFile "report.rdl" -description "Report Description"

with parameters:

  • ReportServerUri: web service url
  • reportPath: path of the report
  • reportName: Name of the report
  • rdlFile: SSRS report (*.rdl file)
  • description: SSRS description

List all folders on a specific path (non recursive)

ListFolder -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl" -targetPath "/";

with parameters:

  • ReportServerUri: web service url
  • targetPath: path

List all reports on a specific path (non recursive)

ListReport -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl" -targetPath "/"

with parameters:

  • ReportServerUri: web service url
  • targetPath: path

List all reports on a specific path (recursive)

ListAllReports -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl"

with parameters:

  • ReportServerUri: web service url
  • targetPath: path

List all datasources for a specific report

ListDataSourceReport -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl" -report "report_path"

with parameters:

  • ReportServerUri: web service url
  • report: the complete path of the report

List all datasources on the server

ListDataSource -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl"

with parameters:

  • ReportServerUri: web service url

Create a datasource

CreateDataSource -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl" -DataSourceName "DatasourceName" -ConnectionString "Data Source=name;initial catalog=catalog_name" -CredType s -CredUsername "username" -CredPassword "password"

with parameters:

  • ReportServerUri: web service url
  • DataSourceName: name of the datasource
  • ConnectionString: connection string definition
  • CredType: (p)rompt, (s)tore, (i)ntegrated, (n)one
  • CredUsername: username when CredType = s
  • CredPassword: password when CredType = s

Get report properties

ReportProperties -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl" -ReportName "ReportName"

with parameters

  • ReportServerUri: web service url
  • ReportName: name of the report (use can use * for searching a report)

SetDatasourceReport -ReportServerUri "https://server/service_path/ReportService2010.asmx?wsdl" -reportPath "report_path" -datasource "datasource" -newDataSourcePath "newdatasource_reference_path"

with parameters

  • ReportServerUri: web service url
  • reportPath: Report path
  • datasource: Datasource name (will be linked with the datasource with the path newDataSourcePath)
  • newDataSourcePath: Datasource reference

About

Managing reporting services (SSRS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • PowerShell 100.0%