0% found this document useful (0 votes)
125 views15 pages

Supercharge Your Database Management With Dbatools: Your "New" Super Power

This document discusses the dbatools PowerShell module for managing SQL Server databases. It provides an overview of dbatools and demonstrates how to install and use it. Key points include: - dbatools allows automating database administration tasks using PowerShell - It can be installed from the PowerShell Gallery or GitHub and has minimal requirements of PowerShell v3 and SQL Server 2000 or higher - The module contains many commands for tasks like migration, maintenance, and monitoring with documentation on its website - A community on Slack provides help and support for using dbatools

Uploaded by

Ajay Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
125 views15 pages

Supercharge Your Database Management With Dbatools: Your "New" Super Power

This document discusses the dbatools PowerShell module for managing SQL Server databases. It provides an overview of dbatools and demonstrates how to install and use it. Key points include: - dbatools allows automating database administration tasks using PowerShell - It can be installed from the PowerShell Gallery or GitHub and has minimal requirements of PowerShell v3 and SQL Server 2000 or higher - The module contains many commands for tasks like migration, maintenance, and monitoring with documentation on its website - A community on Slack provides help and support for using dbatools

Uploaded by

Ajay Dwivedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

Supercharge your Database

Management with DbaTools


Your “new” Super Power

Patrick Flynn
The Link Group

Data Platform Summit 2018 is a community initiative by eDominer Systems


Ajay Kr Dwivedi MCM – SQL Server 2008
SQL Server DBA MCSM – Data Platform
Production DBA for 10+ years.
http://ajaydwivedi.com Group

[email protected]

@sqllensman

Patrick Flynn

Data Platform Summit 2018 is a community initiative by eDominer Systems


Agenda
• PowerShell – Quick Recap

• dbatools.io

• Demos

Data Platform Summit 2018 is a community initiative by eDominer Systems


WHY POWERSHELL?

Data Platform Summit 2018 is a community initiative by eDominer Systems


DBATOOLS.IO

Data Platform Summit 2018 is a community initiative by eDominer Systems


dbatools

Data Platform Summit 2018 is a community initiative by eDominer Systems


Requirements
Minimum Recommended
Client Client
• PowerShell v3 • PowerShell v5.1
• 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 Data Platform Summit 2018 is a community initiative by eDominer Systems
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 Data Platform Summit 2018 is a community initiative by eDominer Systems
Data Platform Summit 2018 is a community initiative by eDominer Systems
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/

Data Platform Summit 2018 is a community initiative by eDominer Systems


Questions?

????????
???????? Data Platform Summit 2018 is a community initiative by eDominer Systems
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
Data Platform Summit 2018 is a community initiative by eDominer Systems
Powershell Resources
• PowerShell for SQL Data Professionals
• https://mva.microsoft.com/en-US/training-courses/powershell-for-sql-data-professionals-16532?l=X
gA5w0PgC_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

Data Platform Summit 2018 is a community initiative by eDominer Systems


A Big Thanks to Our Knowledge Partners

Data Platform Summit 2017


2018 is a community initiative by eDominer Systems
Thank you
for your time!
Post your pics with hash tag #DPS10 and win some cool prizes 

Join DataPlatformGeeks community. www.DataPlatformGeeks.com

Data Platform Summit 2018 is a community imitative by eDominer Systems


Data Platform Summit 2018 is a community initiative by eDominer Systems

You might also like