I want to set the parameters of a SSRS report which is displayed through the ReportViewerWebPart by PowerShell, all on SharePoint 2010 WebpartPage.

Right now, I'm confused by the documentation of the ReportViewerWebpart. It states, that you can read in the available Parameters by using the GetParameters-Method (which is working), and use the OverrideParameters-Method to supply custom values.

  1. it is not a method, it is a property
  2. it is a READ ONLY property

So, how should I set properties for the report where this property is just read only? Is there another possibility to do that instead of using this not working property? Thank you in advance!

1 Answer 1


The answer is as simple as that:

$reportParameter = new-object Microsoft.Reporting.WebForms.ReportParameter("parameter", "value")

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.