forked from microsoft/ReportingServicesTools
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathScriptTemplate.ps1
60 lines (43 loc) · 1.52 KB
/
ScriptTemplate.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright (c) 2016 Microsoft Corporation. All Rights Reserved.
# Licensed under the MIT License (MIT)
function DoSomeThingTo-RSCatalogItem
{
<#
.SYNOPSIS
A brief description of the DoSomeThingTo-RSCatalogItem function.
.DESCRIPTION
A detailed description of the DoSomeThingTo-RSCatalogItem function.
.PARAMETER ReportServerUri
Specify the Report Server URL to your SQL Server Reporting Services Instance.
Use the "Connect-RsReportServer" function to set/update a default value.
.PARAMETER Credential
Specify the password to use when connecting to your SQL Server Reporting Services Instance.
Use the "Connect-RsReportServer" function to set/update a default value.
.PARAMETER Proxy
Report server proxy to use.
Use "New-RsWebServiceProxy" to generate a proxy object for reuse.
Useful when repeatedly having to connect to multiple different Report Server.
.EXAMPLE
PS C:\> DoSomeThingTo-RSCatalogItem
Does something to an RS Catalog Item
#>
[CmdletBinding()]
param (
[string]
$ReportServerUri,
[Alias('ReportServerCredentials')]
[System.Management.Automation.PSCredential]
$Credential,
$Proxy
)
Begin
{
$Proxy = New-RsWebServiceProxyHelper -BoundParameters $PSBoundParameters
}
Process
{
}
End
{
}
}