Access SharePoint Integrated SSRS 2012 configuration from script (SharePoint Object Model)?
-
Friday, February 01, 2013 4:23 PM
I need to extract the SSRS 2012 (SharePoint integrated) configuration parameters using a powershell script.
The powershell cmdlets do not appear to give access to the configuration values that are available via SSRS UI in Central Admin.
How can I gain access to these configuration values?
All Replies
-
Sunday, February 03, 2013 4:49 PM
I believe I've found the solution.
$spAss = start-SPAssignment $ssrsSA = get-spserviceapplication -assignment $spAss | where {$_.TypeName -eq "SQL Server Reporting Services Service Application"} if ($ssrsSA) { $centralAdmin = (get-spwebapplication -IncludeCentralAdministration -assignment $spAss| Where {$_.IsAdministrationWebApplication}).Url $ssrsProxy = new-webServiceProxy -uri "$centralAdmin/_vti_bin/ReportServer/ReportService2010.asmx" -useDefaultCredential $ssrsSystemProperties = $ssrsProxy.GetSystemProperties($nil) } stop-spAssignment $spAss
- Edited by ChadHinton Sunday, February 03, 2013 4:56 PM fix typo
- Marked As Answer by ChadHinton Sunday, February 03, 2013 8:04 PM
-
Thursday, February 28, 2013 2:06 PM
Hi,
I've tried using the sample you've given above but can't get the changes to reflect in Central Admin. How did you get any updates to values that you have made to actually commit?
-
Friday, March 01, 2013 11:32 AM
Nevermind! I have figured it out.
$ssrsSystemProperties[0].value = 567 $ssrsProxy.SetSystemProperties($ssrsSystemProperties[0])

