In this recipe, we will upload an
SSRS Report (
file) to the Report Manager.
You can use the sample RDL file that comes with this cookbook and save it to the
C:\SSRS folder. The sample RDL file uses the
AdventureWorks2008R2 sample database. Alternatively, use an RDL file that is readily available to you. Be sure to update the RDL file reference in the script to reflect where your report file is located.
Here is how we can upload an RDL file to the Report Manager:
$ReportServerUri = "http://localhost/ReportServer/ReportService2010.asmx" ...