Forum Discussion
JJenkins2005
7 years agoFrequent Visitor
Update Shared Datasouce for Report using PowerShell
Hello, We are in the process of migrating from SSRS to PBI-RS and have been testing reports in DEV using DEV Datasources. We have over 300 reports, that we need to switch to Production Datasourc...
d_gosbell
6 years agoSuper User
If you want to point to a different shared data source you need to use the Set-RsDataSourceReference cmdlet
erico
6 years agoNew Member
Hi d_gosbell
Thank you for the quick response. After reading through the help file for Set-RsDataSourceReference, the examples don't appear to align with my goal.
I ended up picking apart the function "Set-RsItemDataSource' and grabbing the last section.
This ended up working and set my data source correctly.
My goal was to set the report data source to this. Does this look sane?
Thanks!
Eric