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 a3ba9e3

Browse files
Updated Help on Get-RsFolderContent with more examples
Cleaned up the original example by removing unnecessary tick marks. Updated Help on Get-RsFolderContent with more examples; one to point out the -Recurse parameter, the other is a duplicate of the example from the Out-RsCatalogItem function to show that you can use the two commands together via the pipeline.
1 parent c87b4f5 commit a3ba9e3

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

‎Functions/CatalogItems/Get-RsFolderContent.ps1‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,28 @@ function Get-RsFolderContent
2929
3030
3131
.EXAMPLE
32-
Get-RsFolderContent -ReportServerUri 'http://localhost/reportserver_sql2012' -Path /
32+
Get-RsFolderContent -ReportServerUri http://localhost/reportserver_sql2012 -Path /
3333
3434
Description
3535
-----------
36-
List all items under the root folder
36+
List all items directly under the root of the named SSRS instance.
37+
38+
.EXAMPLE
39+
Get-RsFolderContent -ReportServerUri http://localhost/ReportServer -Path / -Recurse
40+
41+
Description
42+
-----------
43+
Lists all items directly under the root of the SSRS instance and recursively under all sub-folders.
44+
45+
.EXAMPLE
46+
Get-RsFolderContent -ReportServerUri http://localhost/ReportServer -Path '/SQL Server Performance Dashboard' |
47+
WHERE Name -Like Wait* |
48+
Out-RsCatalogItem -ReportServerUri http://localhost/ReportServer -Destination c:\SQLReports
49+
50+
Description
51+
-----------
52+
Downloads all catalog items from folder '/SQL Server Performance Dashboard' with a name that starts with 'Wait' to folder 'C:\SQLReports'.
53+
3754
#>
3855

3956
[cmdletbinding()]

0 commit comments

Comments
(0)

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