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
- Fixed Parameter help (Don't poison the name with "(optional)", breaks Get-Help)
74
-
- Implemented ShouldProcess (-WhatIf, -Confirm)
75
-
- Replaced calling exit with throwing a terminating error (exit is a bit of an overkill when failing a simple execution)
76
-
- Improved error message on failure.
77
-
- Standardized the parameters governing the Report Server connection for consistent user experience.
78
-
- Added input validation, to ensure no out-of-date servers are specified.
79
-
- Renamed function from "Register-PowerBI" to "Register-RsPowerBI", in order to conform to naming standards and include the module prefix. Introduced an alias with the old name for backwards compatibility.
80
-
81
-
Release 1.0 (???, ???)
82
-
- Initial Release
63
+
Connects the Report Server to the previously configured Azure Active Directory Web App for direct integration into PowerBI.
Copy file name to clipboardexpand all lines: Functions/Admin/Restore-RsEncryptionKey.ps1
+33-62
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,16 @@ 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
+
.PARAMETERPassword
14
+
Specify the password that was used when the encryption key was backed up.
15
+
16
+
.PARAMETERKeyPath
17
+
Specify the path to where the encryption key is stored.
18
+
13
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.
@@ -25,13 +31,7 @@ function Restore-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 that was used when the encryption key was backed up.
31
-
32
-
.PARAMETERKeyPath
33
-
Specify the path to where the encryption key is stored.
34
-
34
+
35
35
.EXAMPLE
36
36
Restore-RSEncryptionKey -Password 'Enter Your Password' -KeyPath 'C:\ReportingServices\Default.snk'
37
37
Description
@@ -43,71 +43,42 @@ function Restore-RSEncryptionKey
43
43
Description
44
44
-----------
45
45
This command will restore the encryption key to the named instance (SQL2012) from SQL Server 2012 Reporting Services
46
-
47
-
.NOTES
48
-
Author: ???
49
-
Editors: Friedrich Weinmann
50
-
Created on: ???
51
-
Last Change: 26.01.2017
52
-
Version: 1.1
53
-
54
-
Release 1.1 (26.01.2017, Friedrich Weinmann)
55
-
- Fixed Parameter help (Don't poison the name with "(optional)", breaks Get-Help)
56
-
- Implemented ShouldProcess (-WhatIf, -Confirm)
57
-
- Replaced calling exit with throwing a terminating error (exit is a bit of an overkill when failing a simple execution)
58
-
- Improved error message on failure.
59
-
- Standardized the parameters governing the Report Server connection for consistent user experience.
60
-
- Try/Catch when reading from file. No special logic involved, but shows that the possibility of failure was considered
0 commit comments