Coder Social home page Coder Social logo

mem-zone / mem.zone-install-srsreport Goto Github PK

View Code? Open in Web Editor NEW
3.0 4.0 1.0 420 KB

SRS Report PowerShell with SQL Extensions Installer

Home Page: https://MEMZ.one/Install-SRSReport-GIT

License: GNU General Public License v3.0

PowerShell 97.02% TSQL 2.98%
configmgr configurationmanager powershell powershell-script ssrs

mem.zone-install-srsreport's Introduction

Release version Release date Issues count Comits since release Chat on discord Follow on twitter

Install-SRSReport

This is a solution installing SRS Reports using PowerShell.

Latest release

See releases.

Changelog

See changelog.

Prerequisites

Software

Notes If the ReportingServiceTools is not present the user will be asked to allow installation.

Functions

Get-RINode

Gets a report item node information.

Set-RINodeValue

Updates the shared DataSource of a report or multiple reports on a report server.

Install-RIReport

Uploads a report or reports in a folder on disk to a report server.

Set-RIDataSourceReference

Updates the shared DataSource of a report or multiple reports on a report server.

Add-RISQLExtension

Adds sql extension(s) from a folder on disk to specified SQL database.

Extensions

There are two types of extensions currently supported. You can find two examples in the Extensions folder. Extensions are useful when you need to add user defined functions or give additional rights for your imported reports.

  • Permission
  • User Defined function

Notes

The extensions need to be in the same folder and have the perm for Permission or ufn for user defined function prefix.

Usage

## Get syntax help
Get-Help .\Install-SRSReport.ps1

## Typical installation example
#  With extensions
.\Install-SRSReport.ps1 -ReportServerUri 'http://CM-SQL-RS-01A/ReportServer' -ReportFolder '/ConfigMgr_XXX/SRSDashboards' -ServerInstance 'CM-SQL-RS-01A' -Database 'CM_XXX' -Overwrite -Verbose
#  Without extensions (Permissions will still be granted on prerequisite views and tables)
.\Install-SRSReport.ps1 -ReportServerUri 'http://CM-SQL-RS-01A/ReportServer' -ReportFolder '/ConfigMgr_XXX/SRSDashboards' -ServerInstance 'CM-SQL-RS-01A' -Database 'CM_XXX' -ExcludeExtensions -Verbose
#  Extensions only
.\Install-SRSReport.ps1 -ServerInstance 'CM-SQL-RS-01A' -Database 'CM_XXX' -ExtensionsOnly -Overwrite -Verbose

Notes If you don't use Windows Authentication (you should!), you can use the -UseSQLAuthentication switch. PowerShell script needs to be run as administrator.

Preview

mem.zone-install-srsreport's People

Contributors

ioan-popovici avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

l2g2h

mem.zone-install-srsreport's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.