Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7bc93b6

Browse files
Added Help example for new pipelining functionality
Added Help example for new pipelining functionality
1 parent 273aaf3 commit 7bc93b6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

‎Functions/CatalogItems/Out-RsCatalogItem.ps1‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
.DESCRIPTION
99
This downloads catalog items from a report server to disk.
1010
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.
1112
1213
.PARAMETER ReportServerUri
1314
Specify the Report Server URL to your SQL Server Reporting Services Instance.
@@ -27,11 +28,20 @@
2728
Folder to download catalog item to.
2829
2930
.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
3132
3233
Description
3334
-----------
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'.
3545
#>
3646

3747
function Out-RsCatalogItem

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /