Automating the install and upgrade of SQL scripts

Slides:



Advertisements
Similar presentations
Protecting your online and on premises assets "Cloud Style" Mike Martin Architect / Microsoft Azure MVP.
Advertisements

Utility Database Chris
Module 11 : Backup and Restore Jong S. Bok
The Dirty Dozen: Windows PowerShell Scripts for the Busy DBA Ike Ellis.
Rob Sewell Making PowerShell Useful Real-Life Examples of Powershell in Action Slides available here -
Using Power BI with my DBA Database
RESOURCES FOR THE NEW OR ACCIDENTAL DBA Thomas Blog - TomStrike.com.
Securing SQL Server Processes with Certificates
PASS Community News November 2016
Achieve more in less time using the new SQL PowerShell
Louisville SQL Server Users Group
PowerShell is Happening FOR REAL THIS TIME!!!
Helpdesk to DBA in 60 Tips & Tricks for the new DBA
Turning Your Checklists
SET USER GROUP MEETING May 17, 2017
A digital reference guide for database administrators
[+] Title Should Be 'Introduction to Pester‘ 89ms
Simplifying XEvents Management with dbatools
Administrating SQL Server with PowerShell dbatools
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
Resources for the new or accidental dba
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
Unit testing for your database infrastructure
PowerShell for Data Professionals
SQL Server and PowerShell Let’s Get Serious
Migrating your local database to Azure SQL DB
Resources for the new or accidental dba
Johan Hedberg Consultant & XLENT | Cloud and Integration specialist | Microsoft MVP Using VSTS to deploy BizTalk Server solutions, what you.
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
PowerShell & PowerBi Reducing DBAs Context Switching
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
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
The 6 P’s Powershell Profile Prepares Perfect Production Purlieu
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
Governing Your Enterprise with Policy-Based Management
Slacking for the DBA It’s good to Chat.
Summit Nashville /26/2019 4:32 AM
dbatools! The reason to finally start learning and using Powershell
Michael Wall Senior DBA, Great Western Malting
The Fast and Easy Methods to Automate your SQL Server builds
Using Dbatools to Automate Database Migrations
An Intro & Implementing dbatools
What it is and why you should use it
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.
Bringing source control to BI world!
The DBA Quit and now you’re it:
Life Hacks: dbatools Edition
Presentation transcript:

Automating the install and upgrade of SQL scripts Rob Sewell @sqldbawithbeard http://sqldbawithAbeard.com #psconfasia Slides and Demos available at https://github.com/SQLDBAWithABeard/Presentations/ PSConfAsia - Using my DBA Database to automate the install and upgrade scripts

Speaker Questionnaire Name : Rob Occupation : DBA, Automator, Do-er Interests : PowerShell, Automation And SQL (PaaS geddit?) Website : sqldbawithAbeard.com Twitter : @sqldbawithbeard Interesting Fact : Has a Beard. (Still) Plays Cricket Speaker : SQL Saturdays, SQL Relay, PowerShell Conference EU Community : SQL South West , SQL Saturday Exeter , PowerShell Virtual Chapter, Organiser for PowerShell Conference EU 2017, Officer, Lead for dbareports, contributor to dbatools https://dbareports.io @psdbareports

What shall we talk about? Hundreds or thousands of SQL instances Install or update default SQL scripts Ola Hallengren DBMail set up SQL Agent Alerts, Operators Brent Ozar, Adam Mechanic tools Extended Event Sessions And anything else you want @sqldbawithbeard

What shall we talk about? Testing and Validation Ensuring we have what we think Providing reports for management 1st Line support @sqldbawithbeard

Using T-SQL Scripts Yup I’m a DBA  Cautious Omnipotent so that they do the same thing whatever the status of the destination TEST and Test and Test some more Yup I’m a DBA  Cautious @sqldbawithbeard

SQL Database like this Or add it to dbareports  http://dbareports.io @sqldbawithbeard

Test it with Pester Pester - https://github.com/pester/Pester Used for TDD but also for Environmental Validation You can get started here https://mcpmag.com/articles/2016/05/19/test-powershell-modules-with-pester.aspx And see an Active Directory example here https://pshirwin.wordpress.com/2016/04/08/active-directory-operations-test/ @sqldbawithbeard

MUST BE TIME FOR A DEMO

PowerShell VC of PASS PowerShell for SQL Server On YouTube Wed, Nov 16   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   Wed, Nov 16 Automate Operational Readiness and Validation Testing of SQL Server with PowerShell and Pester Mike Robbins 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 Join the Conversation  @SQLPowerShell Trello: sqlps.io/vote Slack: sqlps.io/slack PowerShell.SQLPASS.org PowerShell@sqlpass.org

Questions? @sqldbawithbeard Ask A Question http://www.menshairforum.com/talk/Thread-Beard-Facts-and-Beards-Meme-Facial-Hair-Manly-Knowledge @sqldbawithbeard

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