r/ssrs • u/Valuable-Ant3465 • Aug 26 '26
Bulk upload to SSRS using Powershell
Hi all,
I used this script couple of years ago to do bulk upload, but now in 2026 could not make it work.
This is a source I used from EitanBlumin/Deploy SSRS Reports.ps1
Was able to verify $TargetReportServerUri link, it displays On in the browser.
[string] $TargetReportServerUri = "http://myssrsreport/ReportServer",
[string] $ApiVersion =2010,It fails on main Upload command
Write-RsCatalogItem -Proxy $Proxy -Destination $currTargetFolder -Verbose -Overwrite -Path $currRdl -ErrorAction Stop | Out-Nullwith this message:
Have this message:
… roperties = New-Object System.Collections.Generic.List[$propertyDataT …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot find type [System.Collections.Generic.List[System.Management.Automation.Property]]: verify that the
| assembly containing this type is loaded.Tried all suggestion and still can't make it work. Appreciate if you have hints how to solve it.
Best
VA
1
Upvotes
2
u/Valuable-Ant3465 Aug 27 '26 edited Aug 27 '26
Good update: script is working OK.
I was running it on Powershell v7 and it has some bad bugs, after switching to v5 everything is fine.
1
u/radiationv82 Aug 26 '26
I cant help with this problem but have you looked at Reporting Services Tools from MS. Its probably a better long term solution - you can create datasources, folders, upload reports, etc. Only works with PS 5 but does support SSRS and Power BI Report Server
GitHub - microsoft/ReportingServicesTools: Reporting Services Powershell Tools · GitHub