Add Download-SsrsFolderItems.ps1 (reverse of the deploy script) #2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature/add-download-script"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds Download-SsrsFolderItems.ps1, the reverse of the deploy script: downloads all Reports (.rdl) and Datasets (.rsd) from an SSRS folder to a local directory (GET Content/$value), preserving exact server bytes/BOM. Same preview + typed confirmation + -WhatIf as the rest of the toolkit.
Tested live against qa-mb-db /MBPPRReports: downloaded 117 items (49 rdl, 68 rsd), valid XML, BOM preserved. Docs updated.
Downloads all Reports (.rdl) and Datasets (.rsd) from an SSRS folder to a local directory via the REST API v2.0 (GET CatalogItems({id})/Content/\), writing exact server bytes (BOM preserved). Same site/folder/item preview, typed confirmation, and -WhatIf/-Confirm gating as the other tools; existing local files replaced only with -Force. Data Sources (.rds) not handled. Documented in README.md and AGENT-README.md. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>