Life Hacks: dbatools Edition

Slides:



Advertisements
Similar presentations
Source Control Repositories for Enabling Team Working Svetlin Nakov Telerik Corporation
Advertisements

In-Place Upgrade to TFS 2010 on existing hardware Not deploying new hardware Databases too large to move Scaling-out, not up Not deploying new hardware.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
Version Control. How do you share code? Discussion.
QUICK START OF GITHUB Lin Shuo-Ren 2013/3/6 1. Why We Should Control The Version Although it rains, throw not away your watering pot. All changes should.
OARN Database UPDATE – SEPTEMBER We’re Live – and Testing  The site is up and running in Google’s data centers:  The site has been secured: 
Intro to Git presented by Brian K. Vagnini Hosted by.
Introduction to Git - Chirag Dani. Objectives Basics of Git Understanding different “Mindset of Git” Demo - Git with Visual Studio.
Rob Sewell Making PowerShell Useful Real-Life Examples of Powershell in Action Slides available here -
Putting Your Head in the Cloud Working with SQL Azure David Postlethwaite 18/06/2016David Postlethwaite.
SQL Server as a Cloud Service April 15th 2016 Warner Chaves Data Platform MVP/SQL Server MCM.
Customer pulse Why Stretch? How Stretch works? Core Stretch scenarios Demo QA.
Version Control Systems
Source Control Systems
Working with SQL Server for Linux Cross-Platform
Version Control.
Easily manage SQL everywhere from anywhere with SQL Tools
Document SQL Server with PowerShell
Version Control Systems
Upgrading to SQL Server 2016
Simplifying XEvents Management with dbatools
Administrating SQL Server with PowerShell dbatools
Reliable, Repeatable, Configurable & Automated Validation with
Administrating SQL Server with PowerShell dbatools
Git Version Control for Everyone
Microsoft Azure P wer Lunch
dbatools! The reason to finally start learning and using Powershell
dbachecks! DBA Checklists: Reliable, Repeatable, & Automated
Administrating SSRS without boring web based clicks!
SQL Server and PowerShell Let’s Get Serious
Making PowerShell Useful
Migrating your SQL Server Instance
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
Migrating your local database to Azure SQL DB
SQL Server Scripting using PowerShell
Squeeze Into Some Free Gains
dbatools! The reason to finally start learning and using Powershell
Reliable, Repeatable, Configurable & Automated Validation with
Making PowerShell Useful
Making PowerShell Useful
SQLSERVER:\ Using the SQL Server Provider with PowerShell
Automating the install and upgrade of SQL scripts
PowerShell & PowerBi Reducing DBAs Context Switching
Commands for SQL Server
PowerShell SQL Server I will be tweeting links as we go
Delivering Business Value Faster
Git CS Fall 2018.
Administrating SQL Server with PowerShell dbatools
Test and Verify Instances with DBAchecks
Squeeze Into Some Free Gains
Reliable, Repeatable, Configurable & Automated Validation with
Use PowerShell & dbatools to Manage your SQL Server Environment
Administrating SQL Server with PowerShell dbatools
AD, gMSA and SQL Server Windows Authentication in a Container
Gold Sponsors.
GitHub 101 Using Github and Git for Source Control
SQL Server Scripting using PowerShell
Branches And Releases Branch for Urgent Bug Branch for Feature A
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
An Intro & Implementing dbatools
What it is and why you should use it
06 | SQL Server and the Cloud
The DBA Quit and now you’re it:
Presentation transcript:

Life Hacks: dbatools Edition

SQL Server DBA at Westfield Insurance, Ohio Open Source Contributor Jess Pomfret SQL Server DBA at Westfield Insurance, Ohio Open Source Contributor dbatools, dbachecks, SqlServerDsc Passionate about SQL Server, PowerShell & Proper Football jpomfret7@gmail.com @jpomfret

Agenda What is dbatools? PowerShell 101 Life Hacks Getting Started With dbatools Test Your Backups Manage Logins & Access Mask Sensitive Data Migrate… Everything Meet Best Practices Documentation for everyone Backups are useless if they can’t be restored https://dbatools.io/dedicated-server/

dbatools: a short history Created by Chrissy LeMaire to migrate SharePoint instances September 2015 – First commit to GitHub June 2019 – 1.0 launch at DataGrillen MIT Licensed Secure! 574 Commands (as of 9/30/2019) – v1.0.50 500+ pester tests Learn dbatools in a Month of Lunches PowerShell Module – Command line SSMS MIT license - https://dbatools.io/mit/ - only requirement is to maintain copywrite and license notices. OK for commercial use, modification, distribution, private use Talking to your company about dbatools - https://dbatools.io/secure/ PowerShell team works hard at “Secure by Design” Code signed – verifies the code you receive hasn’t been modified by a third party. Chrissy & Rob are the only people who can sign dbatools releases Pester tests Restricted merging to master branch 1.0 - Over 160 contributors and 550 commands Standardize naming Standardize parameters Support all the ways to login to SQL Server that SSMS does (including Multi Factor Authentication) Support SQL Server 2000 and PowerShell 3 wherever possible – goal is still to make migrations easy Support for Azure (can migrate to Azure Managed Instances) 75% of commands run on Mac OS and Linux https://dbatools.io/meap/

Demo Time Demo Files available here: https://github.com/jpomfret/demos/tree/master/LifeHacks_dbatools

Resources dbatools Blog Docs Other https://dbatools.io/meap/ https://dbatools.io/secure/ Docs https://docs.dbatools.io/ https://dbatools.io/build Other https://dbatools.io/github https://dbatools.io/slack/ http://dbatools.io/twitter - @psdbatools

Questions? Jess Pomfret jpomfret7@gmail.com @jpomfret www.JessPomfret.com https://github.com/jpomfret/demos/