SQL Server Scripting using PowerShell

Slides:



Advertisements
Similar presentations
Yet another Service Management Automation Session
Advertisements

Migrating to EPiServer CMS 5 Johan Björnfot -
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
Julie Strauss Senior Program Manager Lead Microsoft Corporation
Data-driven Subscription using SSIS and SharePoint David Smeets 26/10/2013.
17-20 OCTOBER 2011 DURBAN ICC. What code-database gap? Introducing Project Codename “Juneau” William
Adxstudio Portals Training
MGT305 - Application Management in Private and Public Clouds Sean Christensen Senior Product Marketing Manager Microsoft Corporation MGT305.
MGT305 - Application Management in Private and Public Clouds Daniel Savage Microsoft Corporation MGT305 Kenan Owens Microsoft Corporation.
Rob Sewell Making PowerShell Useful Real-Life Examples of Powershell in Action Slides available here -
Introduction to SQL Server Automation with Powershell by Chris Sommer.
Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft
ROLLING DATABASE SNAPSHOTS David Cobb Daveslog.com.
Customer pulse Why Stretch? How Stretch works? Core Stretch scenarios Demo QA.
Others Talk, We Listen. Managing Database Projects in Visual Studio 2013.
Migrate DB to Azure SQL Taiob M Ali.
CalNet VMware Environment
SQL Server on Linux CTP 1.1 Florian
Julie Strauss Senior Program Manager Lead Microsoft Corporation
Launch Your Database Into Microsoft Azure
SQL Server deployments
Outsourcing Database Administration
[OPTIONAL] Cover splash screen that can be displayed at the beginning of an event while people are coming in or logging on. This slide is optional and.
DBA and IT Professional for ~9 years. Currently I am a Data Architect
Efficiently Searching Schema in SQL Server
Introducing New Team-based Data Integration with SSIS
Using Biml to Automate the Generation of SSIS Packages
Upgrading to SQL Server 2016
Simplifying XEvents Management with dbatools
9/23/2018 1:04 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
DevOps Database Administration
SQL Server Analysis Services Fundamentals
SQL Server Analysis Services Fundamentals
11/16/ :06 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
DevOps Database Administration
DAX and the tabular model
Migrating your SQL Server Instance
dbatools - PowerShell and SQL Server Working Together
TechEd /21/2018 5:20 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Brandon Lukes SSMS Tips and Tricks.
TechEd /23/ :44 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Launch Your Database Into Azure
SQL Server and PowerShell Let’s Get Serious
Kasper de Jonge Microsoft Corporation
The Dirty Dozen: Windows PowerShell Scripts for the Busy DBA
How to Perform A Health Check By Edward Roepe Perimeter DBA, LLC
Reliable, Repeatable, Configurable & Automated Validation with
DBA for ~4+years, IT Professional for 7.5 years.
Making PowerShell Useful
Outsourcing Database Administration
SSDT and Database Project Basics
What about the Data Dude?
Reporting on a Cube with SSRS
TechEd /23/2019 9:23 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Using Biml to Automate the Generation of SSIS Packages
Gold Sponsors.
Governing Your Enterprise with Policy-Based Management
SQL Server Scripting using PowerShell
The SSRS RESTful API George Walkey Sr. DBA, Patient First Corp
Look, Over There, Your Permissions Are Showing!
A lightweight editor for SSAS Tabular Models built in .NET / WinForms
System Center Operations Manager Assessment Results
Office 365 Development July 2014.
What it is and why you should use it
The SSRS RESTful API George Walkey Sr. DBA, Patient First Corp
SSDT, Docker, and (Azure) DevOps
Bringing source control to BI world!
Samuel Kastberg Scripting a BizTalk Server installation
Life Hacks: dbatools Edition
Presentation transcript:

SQL Server Scripting using PowerShell George Walkey Sr. DBA, Patient First Corp Richmond, VA @sqlbytehd

About the Speaker From Richmond, VA Patient First - Urgent Care Centers in VA/MD/DC/PA/NJ Using SQL Server since Foxpro ruled the Earth Owned an original low-serial-number 5150

IBM 5150 – Circa 1981

Powershell and SQL Server

Powershell and SQL Server

The Tech we are going to learn in Powershell T-SQL WMI SMO

Why Script out your SQL Servers? Documentation - Wiki, SharePoint, Version Control Disaster Recovery - The Queen is Dead, Long Live… Server Migrations, Upgrades - Win 2003 is Retired Environmental Consistency - Same Alerts on all Servers Dev-Test-UAT-Stage-Prod - Granular object control Security Auditing – Because I can never get enough Migrate Databases to Azure Impress the Boss, Pad the Resume To learn PowerShell

Documentation for Agile/Scrum grunts: What is your ‘Definition of Done’?

My Definition of Done: Server-Level Objects - AMAICF SSIS Objects SSAS Objects SSRS Objects SQL Security Infrastructure Output format: Easy to Check-In and Diff Works with vNext (SQL 2018 or Azure V14) Easy-to-use SQL Objects (Load up in SSMS, Press F5) Everything SSMS and SSDT can’t get

Powershell Code Breakdown Scripts are compatible with: SQL 2005-2017, Azure* Win/SQL Authentication Supports Named Instances SQL Express

Script-Out: Requirements Powershell 3.0+ SQL CLR Types, SMO, PowerShell Tools, RSAT AKA: “Feature Pack” for 2012/14/16/17, or SSDT, SSMS

Demo Reach for Live Demo and Open Can…

Source Code https://github.com/gwalkey “SQLTranscriptase” Make out your Speaker Evaluations Visit the Vendor Tables Give me feedback – or else Kidding, but let me know how these help!