SQL Server Scripting using PowerShell

Slides:



Advertisements
Similar presentations
Yet another Service Management Automation Session
Advertisements

Utility Database Chris
Media Partners.
Migrating to EPiServer CMS 5 Johan Björnfot -
Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
17-20 OCTOBER 2011 DURBAN ICC. What code-database gap? Introducing Project Codename “Juneau” William
SQL School is strongly committed to provide COMPLETE PRACTICAL REALTIME Trainings on SQL Server Technologies – Dev, SQL DBA, MSBI (SSIS, SSAS, SSRS) and.
Adxstudio Portals Training
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.
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.
SSDT Database Projects from the ground up
CalNet VMware Environment
Building a Home Grown Auditing Infrastructure for SQL Server
SQL Server on Linux CTP 1.1 Florian
Launch Your Database Into Microsoft Azure
Curacao SQL Saturday June 11, 2016
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.
Policy Based Management: Introduction & implementation
DBA and IT Professional for ~9 years. Currently I am a Data Architect
Disaster Recovery and SQL for new and non-DBAs
Example of a page header
Efficiently Searching Schema in SQL Server
What's new with SQL Server 2016 and SQL Server vNext?
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
DevOps Database Administration
SQL Server Analysis Services Fundamentals
DevOps Database Administration
Making PowerShell Useful
DAX and the tabular model
Migrating your SQL Server Instance
dbatools - PowerShell and SQL Server Working Together
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Brandon Lukes SSMS Tips and Tricks.
Launch Your Database Into Azure
PowerShell for Data Professionals
SQL Server and PowerShell Let’s Get Serious
SQL Server Scripting using PowerShell
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
Why migrate your Server 2008 servers with cubesys?
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.
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
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

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 today is: Powershell T-SQL WMI SMO

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

Documentation For all you 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 2021 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-2019, Azure* Win/SQL Authentication Supports Named Instances SQL Express

Script-Out: Requirements Powershell 3/4/5/6 SQL CLR Types, SMO, PowerShell Tools, RSAT AKA: “Feature Pack” for 2012/14/16/17/19, 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!