dbatools! The reason to finally start learning and using Powershell

Slides:



Advertisements
Similar presentations
Faith Allington Program Manager Microsoft Corporation WSV322.
Advertisements

Thursday September 20th, System Center User Group Philadelphia Chapter Tonight’s Sponsor is.
Verify Hardware Requirements Install Windows Server 2008 R2 Configure Active Directory Install SQL Server 2008 Install SharePoint Server 2010 Configure.
SharePoint 2010 Development Environment A Guide to Setup SharePoint 2010 Development Environment on Windows 7 Machine.
Introduction to Windows PowerShell DANIEL HIBBERT PRIMER FIELD ENGINEER DMVMUG User Conference 2013 – Reston, VA.
PowerShell Chattanooga
Mile Hi Power BI User Group
IT06 – HAVE YOUR OWN DYNAMICS NAV TEST ENVIRONMENT IN 90 MINUTES
Securing SQL Server Processes with Certificates
PowerShell for the DBA: Why I love my inner pig-dog
Working with SQL Server for Linux Cross-Platform
PowerShell Introduction Copyright © 2016 – Curt Hill.
Azure, PowerShell, and SQL Server Virtual Machines
Achieve more in less time using the new SQL PowerShell
PowerShell is Happening FOR REAL THIS TIME!!!
Schrödinger’s Backup Will your recovery work?
Automating AD Administration with Windows PowerShell
SQL Server Client Tools 2018
Using PowerShell with Python & SQL Server
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
Making PowerShell Useful
dbachecks! DBA Checklists: Reliable, Repeatable, & Automated
Administrating SSRS without boring web based clicks!
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
Migrating your local database to Azure SQL DB
Database Corruption Advanced Recovery Techniques
The Mac DBA, using Docker and SQL Operations Studio
Database Corruption Advanced Recovery Techniques
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
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
Patrick Flynn | Link Group Australia
Administrating SQL Server with PowerShell dbatools
Reliable, Repeatable, Configurable & Automated Validation with
SQLOpsStudio Vs SSMS - There can be only one
Use PowerShell & dbatools to Manage your SQL Server Environment
SQLOpsStudio Vs SSMS - There can be only one
Administrating SQL Server with PowerShell dbatools
Gold Sponsors.
GitHub 101 Using Github and Git for Source Control
Rich Benner SQL Server Performance Richbenner.com.
4/29/ :17 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
1. Azure Data Explorer Azure Data Explorer enables rich data exploration over raw, structured, and semi-structured data delivering fast time to insight.
SQLOpsStudio Vs SSMS - There can be only one
dbatools! The reason to finally start learning and using Powershell
Michael Wall Senior DBA, Great Western Malting
Using Dbatools to Automate Database Migrations
What it is and why you should use it
This is the slide shown before the presentation starts
SQLOpsStudio Vs SSMS - There can be only one
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.
Life Hacks: dbatools Edition
Presentation transcript:

dbatools! The reason to finally start learning and using Powershell Patrick Flynn | Link Group Australia dbatools! The reason to finally start learning and using Powershell

Please Support Our Sponsors

Who Am I Patrick Flynn MCM – SQL Server 2008 MCSM – Data Platform email sqllensman@outlook.com MCM – SQL Server 2008 MCSM – Data Platform Production DBA for (too many) years. @sqllensman Patrick Flynn

What we will cover: Powershell – a quick sales pitch!. dbatools.io – Why its awsome Installing and Using dbatools

PowerShell: https://en.wikipedia.org/wiki/PowerShell Microsoft first showed off Monad at the Professional Development Conference in Los Angeles in September 2003 Microsoft published the first Monad public beta release on June 17, 2005, Beta 2 on September 11, 2005, Release Candidate 2 of PowerShell version 1 was released on September 26, 2006 with final Release to the web (RTW) on November 14, 2006 and announced at TechEd Barcelona PowerShell v2.0 was completed and released to manufacturing in August 2009 PowerShell 3.0 is integrated with Windows 8 and with Windows Server 2012. PowerShell 4.0 is integrated with Windows 8.1 and with Windows Server 2012 R2. Windows Management Framework (WMF) 5.0 RTM which includes PowerShell 5.0 was re-released to web on February 24, 2016 PowerShell 5.1 was released on August 2, 2016, in the Windows 10 Anniversary Update. Final Version of Windows Powershell On 18 August 2016, Microsoft announced[14] that they had made PowerShell open-source and cross-platform with support for Windows, OS X, CentOS and Ubuntu.[3] Based on Dot Net Core On 10th January 2018 GA release of Powershell Core SQL Server SQLPS introduced with Windows 2008 Available as mini-shell with SSMS Initially 5 Commands In 2016 changed to SQLServer module Latest release has partial support for PSCore

dbatools Community project, initially started out as Start-SqlMigration but has grown into a DBA’s best friend. dbatools currently sports 79 commands. How many of you have heard of dbatools? How many of you have used it? How many knew it was born in Belgium? :D dbatools is a free PowerShell module with over 300 SQL Server best practice, administration and migration commands included.

requirements Minimum Recommended Client Client PowerShell v3 SQL Server Management Studio / SMO 2008 R2 Server SQL Server 2000 No PowerShell for pure SQL commands PowerShell v2 for Windows commands Remote PowerShell enabled for Windows commands Recommended Client PowerShell v5.1

installation PowerShell Gallery (PowerShell v5+) Install-Module dbatools Install-Module dbatools –Scope CurrentUser GitHub – dbatools.io/git Invoke-Expression (Invoke-WebRequest https://dbatools.io/in) Clone repo found at dbatools.io/git, Import-Module dbatools

Demo’s of Backup Script Maintenance Plans Ola Hallengren Minion Backup #702 | Malaysia 2018

Asking Questions via Slack Go to sqlslack.com to get an automatic invite. Sign in at sqlcommunity.slack.com Join the #powershellhelp channel. Also a dedicated #dbatools Ask questions! ( people are friendly  ) Further information: dbatools.io/slack/

Questions? ? ? ? ? ? ? ? @sqllensman ? Patrick Flynn ? ? ? ? ? ? ? ?

Please Support Our Sponsors

Social Make sure you tweet on #SQLSat710 or #SQLSatEdmonton Don’t forget to thank Volunteers and other Speakers!

More Help Extensive documentation within each command Get-Help Start-DbaMigration –Detailed Extensive documentation on dbatools.io dbatools.io/Start-DbaMigration dbatools.io/Repair-DbaOrphanUser Some commands have videos dbatools.io/youtube

Powershell Resources PowerShell for SQL Data Professionals https://mva.microsoft.com/en-US/training-courses/powershell-for-sql-data-professionals-16532?l=XgA5w0PgC_8805121157 PASS Powershell Virtual Chapter http://powershell.sqlpass.org/ PASS Recordings http://www.pass.org/Learning/Recordings/Listing.aspx?category=webinars24Hours Manage SQL Server in Linux Containers using dbatools