Coder Social home page Coder Social logo

gwalkey / ssrs_subscriptions Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 4.0 35 KB

Create, Delete, List SQL Server Reporting Services Subscriptions using Powershell and SOAP

License: GNU General Public License v3.0

PowerShell 100.00%
reporting-services ssrs subscriptions

ssrs_subscriptions's Introduction

Create, Delete, List SQL Server Reporting Services Subscriptions using Powershell and SOAP

Based on Code from Jasmin Mistry

https://gist.github.com/jasmin-mistry/9de9daf74cbc1d56a33984f2787ad2ea

This Code will be updated shortly to include the option to persist subscriptions to external JSON Files

This code assumes you have permissions to the SSRS SOAP Webservice

Get-SSRS_Subscriptions - lists all the subscriptions for a given Report

Parameters: If your SSRS server is called 'SSRS2016' and your top-level folder structure has a folder named 'Sales' and a report in that folder called 'Sales Projections', you need to set the script parameters as 'SSRS2016' and '/Sales/Sales Projections' accordingly

New-SSRS_Subscription - Creates a subscription for a given Report using a variety of SSRS options

Parameters: Script Parameter $SSRSServer should be set to your SSRS instance

Internal Parameters: The powershell Comment block at the top details all the possible Subscription Options including

Email or Fileshare

File share path

Email Recipients

Schedule Time and Repeating frequency

Report Parameter options include a sample for a multi-select combo-type parameter

The Scheduling Options are maintained in the XML Fragment

Remove-SSRS_Subscriptions - Deletes all subscriptions for a given Report

Parameters: SSRS Instance and full Report Path (eg '/Sales/Western Division/Sales by Manager')

In SSRS 2017 and the Power BI Reporting Server, a REST API exists and is much easier to use

ssrs_subscriptions's People

Contributors

gwalkey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.