Listing SSRS report properties
In this recipe, we will list a single SSRS report's properties.
Getting ready
Identify your SSRS 2012 report server URL. We will need to reference the ReportService2010
web service, and you can reference it using:
<ReportServer URL>/ReportService2010.asmx
Specify your Report Manager URI in the variable $ReportServerUri
.
Pick a report deployed in your SSRS 2012 Report Manager. Note the path to the item, and replace the variable $reportPath
with your own path.
How to do it...
Here are the steps required to list SSRS report properties.
Open the PowerShell console by going to Start | Accessories | Windows PowerShell | Windows PowerShell ISE.
Add the following script and run:
$ReportServerUri = "http://localhost/ReportServer/ReportService2010.asmx" $proxy = New-WebServiceProxy -Uri $ReportServerUri -UseDefaultCredential $reportPath = "/Customers/Customer Contact Numbers" #using PowerShell V3 Where-Object syntax $proxy.ListChildren("/", $true) | Where-Object...