File tree Expand file tree Collapse file tree 1 file changed +15
-2
lines changed
ReportingServicesTools/Functions/CatalogItems Expand file tree Collapse file tree 1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,25 @@ function Import-RsSubscriptionXml {
37
37
and output a PowerShell object with the result.
38
38
39
39
. EXAMPLE
40
- Import-RsSubscriptionXml .\MySubscriptions.xml | Set-RsSubscription -Path /Example/Report
40
+ Import-RsSubscriptionXml .\MySubscriptions.xml | Copy-RsSubscription -RsItem /Example/Report
41
+
42
+ Description
43
+ -----------
44
+ This command will import all the subscriptions contained in .\MySubscriptions.xml, recreate any SRSS specific properties
45
+ and pipe the results to Copy-RsSubscription which will add them to the /Example/Report report.
46
+ NOTE: You will need to supply the correct path for the -ReportServerUri parameter to both the Import-RsSubscriptionXml
47
+ & Copy-RsSubscription functions. It has been omitted from this example for brevity.
48
+
49
+ . EXAMPLE
50
+ Import-RsSubscriptionXml .\MySubscriptions.xml |
51
+ Out-GridView -PassThru |
52
+ Copy-RsSubscription -RsItem /Example/Report
41
53
42
54
Description
43
55
-----------
44
56
This command will import the subscriptions contained in .\MySubscriptions.xml, recreate any SRSS specific properties
45
- and pipe the results to Set-RsSubscription which will add them to the /Example/Report report.
57
+ and output a PowerShell object with the result. The Out-GridView cmdlet allows you to examine and optionally filter the
58
+ subscriptions from the .XML file, before adding them to the report via the Copy-RsSubscription function.
46
59
#>
47
60
48
61
[cmdletbinding ()]
You can’t perform that action at this time.
0 commit comments