You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ReportingServicesTools/Functions/Admin/Restore-RsEncryptionKey.ps1
+59-30Lines changed: 59 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -6,38 +6,38 @@ function Restore-RSEncryptionKey
6
6
<#
7
7
.SYNOPSIS
8
8
This script restores the SQL Server Reporting Services encryption key.
9
-
9
+
10
10
.DESCRIPTION
11
11
This script restores encryption key for SQL Server Reporting Services. This key is needed in order to read all the encrypted content stored in the Reporting Services Catalog database.
12
-
12
+
13
13
.PARAMETERPassword
14
14
Specify the password that was used when the encryption key was backed up.
15
-
15
+
16
16
.PARAMETERKeyPath
17
17
Specify the path to where the encryption key is stored.
18
-
18
+
19
19
.PARAMETERReportServerInstance
20
20
Specify the name of the SQL Server Reporting Services Instance.
21
21
Use the "Connect-RsReportServer" function to set/update a default value.
22
-
22
+
23
23
.PARAMETERReportServerVersion
24
24
Specify the version of the SQL Server Reporting Services Instance.
25
25
Use the "Connect-RsReportServer" function to set/update a default value.
26
-
26
+
27
27
.PARAMETERComputerName
28
28
The Report Server to target.
29
29
Use the "Connect-RsReportServer" function to set/update a default value.
30
-
30
+
31
31
.PARAMETERCredential
32
32
Specify the credentials to use when connecting to the Report Server.
33
33
Use the "Connect-RsReportServer" function to set/update a default value.
34
-
34
+
35
35
.EXAMPLE
36
36
Restore-RSEncryptionKey -Password 'Enter Your Password' -KeyPath 'C:\ReportingServices\Default.snk'
37
37
Description
38
38
-----------
39
39
This command will restore the encryption key to the default instance from SQL Server 2016 Reporting Services
0 commit comments