PowerShell & PowerBi Reducing DBAs Context Switching

Slides:



Advertisements
Similar presentations
Calendar Browser is a groupware used for booking all kinds of resources within an organization. Calendar Browser is installed on a file server and in a.
Advertisements

Module 13 Automating SQL Server 2008 R2 Management.
Improving productivity with online collaboration © 2015 albert-learning.com Improving productivity with online collaboration.
Learningcomputer.com SQL Server 2008 – Administration, Maintenance and Job Automation.
Rob Sewell Making PowerShell Useful Real-Life Examples of Powershell in Action Slides available here -
Using Power BI with my DBA Database
Load Testing with SQL Server Tools Neil Hambly SQL Server Practice Lead Northdoor PLC.
Automating the workload: Developing sustainable data management on a budget Aaron Distler, M.A., Associate Director of Academic Success & Accessibility.
Chrissy LeMaire PowerShell MVP
Justin Randall SQLintersection Session: Friday, 10:00am-11:15pm Automating SQL Server Administration Using SQLCMD Justin Randall.
Automated Enterprise-wide SQL Server Auditing
Achieve more in less time using the new SQL PowerShell
PowerShell is Happening FOR REAL THIS TIME!!!
Turning Your Checklists
Maximize the performance and scale of Microsoft Dynamics AX
PASS Community News December 2016
Please Support Our Sponsors
Where I am at: Swagatika Sarangi MDM Lead PASS Summit SQL Saturdays
Summit Nashville /16/ :21 PM
[+] Title Should Be 'Introduction to Pester‘ 89ms
Simplifying XEvents Management with dbatools
SocialBoards Self-Service, Multichannel Support Ticket Notifications in Microsoft Office 365 Groups Help Customer Care Teams to Provide Better Care OFFICE.
Administrating SQL Server with PowerShell dbatools
Power Apps & Flow for Microsoft Dynamics SL
Reliable, Repeatable, Configurable & Automated Validation with
Administrating SQL Server with PowerShell dbatools
dbatools! The reason to finally start learning and using Powershell
Making PowerShell Useful
dbachecks! DBA Checklists: Reliable, Repeatable, & Automated
5 WAYS TO BYPASS *OR ENSURE* SQL SERVER SECURITY MATT MARTIN
Making PowerShell Useful
Use PowerShell & dbatools to Manage your SQL Server Environment
Chrissy LeMaire, MVP & Rob Sewell, MVP
dbatools - PowerShell and SQL Server Working Together
PowerShell for Data Professionals
dbatools! The reason to finally start learning and using Powershell
Reliable, Repeatable, Configurable & Automated Validation with
PowerShell & PowerBi Reducing DBAs Context Switching
Making PowerShell Useful
PowerShell & PowerBi Reducing DBAs Context Switching
PowerShell & PowerBi Reducing DBAs Context Switching
Making PowerShell Useful
SQLSERVER:\ Using the SQL Server Provider with PowerShell
Automating the install and upgrade of SQL scripts
Commands for SQL Server
PowerShell SQL Server I will be tweeting links as we go
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
PowerShell for the DBA: Why I love my inner pig-dog
2018 Digital Survey: Feedback & Analysis
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
Start Your Own Consulting Practice
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
Please Support our Sponsors
Power BI – Exploring New Frontiers
Administrating SQL Server with PowerShell dbatools
Test and Verify Instances with DBAchecks
Summit Nashville /3/2019 1:48 AM
Reliable, Repeatable, Configurable & Automated Validation with
Use PowerShell & dbatools to Manage your SQL Server Environment
Administrating SQL Server with PowerShell dbatools
Gold Sponsors.
dbatools! The reason to finally start learning and using Powershell
Michael Wall Senior DBA, Great Western Malting
Managing and monitoring SQL Server on Linux from the command line
Using Dbatools to Automate Database Migrations
PowerShell + SharePoint Online – An Admins Guide to Administration in the O365 Cloud Marrell Sanders – Sr. SharePoint Administrator SharePoint Saturday.
This is the slide shown before the presentation starts
Scott Minar PrequelSaturday How the SQL Server community is about to make your job easier Welcome! You've already discovered the best value anywhere in.
Implementing ETL solution for Incremental Data Load in Microsoft SQL Server Ganesh Lohani SR. Data Analyst Lockheed Martin
Life Hacks: dbatools Edition
Presentation transcript:

PowerShell & PowerBi Reducing DBAs Context Switching http://sqldbawithabeard.com @sqldbawithbeard

Speaker Questionnaire Name : Rob Occupation : DBA Interests : PowerShell, Automation And SQL (PaaS geddit?) Website : sqldbawithAbeard.com Twitter : @sqldbawithbeard Interesting Fact : Has a Beard Speaker : SQL Saturdays, SQL Relay, PowerShell Conference EU Community : SQL South West , SQL Saturday Exeter , PowerShell Virtual Chapter Officer, contributor to dbatools http://sqlsouthwest.co.uk Thanks @fatherjack @Mrs_Fatherjack http://powershell.sqlpass.org Thanks @sqlvariant @cl @laerteSQLDBA

What Problem are we Solving? This is a problem I face every year but today we are not going to talk about this one 

Questions Managers PMs Developers Compliance Auditors DBAs Change Managers How Many? Where Are? What Is? Which? When? Compliance want to know how many Server 2003 or SQL 2005 or XPCMDShellEnabled Project Managers and the project team want to know which servers and databases for their systems, how big, what settings etc Systems Team, Change Managers want to know which servers and which clients are in which Data Centre for maintenance work (UPS replacement for example)

Replace The Old Ways It’s time to move on from the Old Ways of doing things. I loved my Excel sheet with RAG for every agent job generated every day but in this modern world do we need to be emailing or saving files on shares to get our information

Instant Views For The DBA Team We – The DBA Team want good visualisations of exactly the information that we want to see including averages to see our improvement. Here we see a rolling 30 day average for failed jobs (Blue) Rolling 7 day average (green) Failed Jobs (Red) and a gauge showing the failed jobs today against the average But also we can show the number of SQL 2000 instances going down or other goals or objectives that we have a team have been set

Help Yourself Self-Service – Enable the Requestors to get what they want when they want Reduce the load on the DBA Team

REQUIREMENTS SOLUTION Local Knowledge What do we need to build our solution to this problem? Powershell – to gather our information SQL Server – to store the information and ensure that it is kept available and backed up (and in control of the DBA Team Power Bi – to create the reports and view/share them Local Knowledge – Whether you keep your instances in a CMS or in a text file or on the back of a napkin you will need to know where they are Local Knowledge

How To Do It

COMING SOON The Manual Part This will be just a PowerShell command when dbareports comes online. dbareports – sibling of the truly awesome dbatools https://dbatools.io We would love your input and contribution You can find out more at https://dbareports.io There is a Trello Board at https://dbareports.io/trello You can come and join in the Slack Channel #dbareports It will be available on GitHub very soon Follow @psdbareports on twitter Enter this information into this table Ensure Policies, Procedures and Processes include this step for new instances and also that the Inactive flag is set when instances are removed

DBA – Fills in instances Agent Jobs run every night to gather the information regularly (Agent Job Databases, every night, Server, SQL every week Now the DBA Team can use powershell to gather information – My Find-Database function queries this (and we use Excel too so the information is available locally in the case of disaster) The DBA Team can use TSQL too. The information is pretty up to date and we have the date checked column to see when last checked They can then answer questions quicker (No need to connect to a server) They can quickly identify instances which need action (Policies not set (Max mem, Min mem Adhoc workload enabled etc)) and target them with powershell BUT – Now we can let them ask their own questions  and have access to the data they require when ever they want.

MUST BE TIME FOR A DEMO

dbareports dbareports – sibling of the truly amazing dbatools https://dbatools.io Has an awesome team working on it already Chrissy LeMaire, Claudio Silva, Jason Squires, Andy Mallon We would love your input and contribution You can find out more at https://dbareports.io There is a Trello Board at https://dbareports.io/trello You can come and join in the Slack Channel #dbareports It will be available on GitHub very soon Follow @psdbareports on twitter

PowerShell VC of PASS PowerShell for SQL Server On YouTube   Need to catch up on the changes to SQL PowerShell in 2016? Recording of July 2016 VC Meeting Presented by: The PowerShell VC Team http://sqlps.io/july2016video   On YouTube sqlps.io/video · 21 Videos already posted · New Videos posted every month · Subscribe to be notified when we post new videos   Join the Conversation  @SQLPowerShell Trello: sqlps.io/vote Slack: sqlps.io/slack Wed, Sep 13 Need to Speed: Pragmatic Problem Solving with PowerShell - Claudio Silva http://sqlps.io/m3 Virtual Chapter of Pass – Fast growing, great presenters, videos on Youtube, interacting with Microsoft via Trello,Slack and Connect to bring improvements to the sqlserver module PowerShell.SQLPASS.org PowerShell@sqlpass.org

Questions

Thank You @sqldbawithbeard http://sqldbawithabeard.com https://uk.linkedin.com/in/robsewellsqldba mrrobsewell@outlook.com