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: Functions/Admin/Backup-RsEncryptionKey.ps1
+84-77Lines changed: 84 additions & 77 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,19 @@
4
4
functionBackup-RsEncryptionKey
5
5
{
6
6
<#
7
-
.SYNOPSIS
8
-
This script creates a back up of the SQL Server Reporting Services encryption key.
9
-
10
-
.DESCRIPTION
11
-
This script creates a back up of the 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
-
13
-
.PARAMETERReportServerInstance
7
+
.SYNOPSIS
8
+
This script creates a back up of the SQL Server Reporting Services encryption key.
9
+
10
+
.DESCRIPTION
11
+
This script creates a back up of the 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
+
13
+
.PARAMETERPassword
14
+
Specify the password to be used for backing up the encryption key. This password will be required when restoring the encryption key.
15
+
16
+
.PARAMETERKeyPath
17
+
Specify the path to where the encryption key should be stored.
18
+
19
+
.PARAMETERReportServerInstance
14
20
Specify the name of the SQL Server Reporting Services Instance.
15
21
Use the "Connect-RsReportServer" function to set/update a default value.
16
22
@@ -25,46 +31,55 @@ function Backup-RsEncryptionKey
25
31
.PARAMETERCredential
26
32
The credentials with which to connect to the Report Server.
27
33
Use the "Connect-RsReportServer" function to set/update a default value.
28
-
29
-
.PARAMETERPassword
30
-
Specify the password to be used for backing up the encryption key. This password will be required when restoring the encryption key.
31
-
32
-
.PARAMETERKeyPath
33
-
Specify the path to where the encryption key should be stored.
34
-
35
-
.EXAMPLE
36
-
Backup-RSEncryptionKey -Password 'Enter Your Password' -KeyPath 'C:\ReportingServices\Default.snk'
37
-
Description
38
-
-----------
39
-
This command will back up the encryption key against default instance from SQL Server 2016 Reporting Services
0 commit comments