Change DataSource of SSRS Report with Powershell
问题 I'm trying to ahange data sources of multiple SSRS Report with Powershell to one shared data source on my reporting server. Here my code: cls; $reportserver = "myServer";<br/> $url = "http://$($reportserver)/reportserver/reportservice2005.asmx?WSDL";";<br/> $ssrs = New-WebServiceProxy -uri $url -UseDefaultCredential -Namespace "ReportingWebService"; [ReportingWebService.DataSource[]] $myDataSource = new-object ReportingWebService.DataSource $myDataSource[0].Name = "myDS"";<br/> $myDataSource