|
8 | 8 | .DESCRIPTION |
9 | 9 | This downloads catalog items from a report server to disk. |
10 | 10 | Currently supported types to download are reports, datasources, datasets and resources. |
| 11 | + This function will overwrite files -Destination which have the same name as the items being passed to the command. |
11 | 12 | |
12 | 13 | .PARAMETER ReportServerUri |
13 | 14 | Specify the Report Server URL to your SQL Server Reporting Services Instance. |
|
27 | 28 | Folder to download catalog item to. |
28 | 29 | |
29 | 30 | .EXAMPLE |
30 | | - Out-RsCatalogItem -ReportServerUri 'http://localhost/reportserver_sql2012' -Path /Report -Destination C:\reports |
| 31 | + Out-RsCatalogItem -ReportServerUri http://localhost/reportserver_sql2012 -Path /Report -Destination C:\reports |
31 | 32 | |
32 | 33 | Description |
33 | 34 | ----------- |
34 | | - Download catalog item 'Report' to folder 'C:\reports'. |
| 35 | + Download catalog item 'Report' to folder 'C:\reports'. |
| 36 | + |
| 37 | +.EXAMPLE |
| 38 | + Get-RsFolderContent -ReportServerUri http://localhost/ReportServer -Path '/SQL Server Performance Dashboard' | |
| 39 | + WHERE Name -Like Wait* | |
| 40 | + Out-RsCatalogItem -ReportServerUri http://localhost/ReportServer -Destination c:\SQLReports |
| 41 | + |
| 42 | + Description |
| 43 | + ----------- |
| 44 | + Downloads all catalog items from folder '/SQL Server Performance Dashboard' with a name that starts with 'Wait' to folder 'C:\SQLReports'. |
35 | 45 | #> |
36 | 46 |
|
37 | 47 | function Out-RsCatalogItem |
|
0 commit comments