Learn dbatools in a Month of Lunches: Automating SQL Server Tasks with PowerShell Commands

  • 6h 15m
  • Chrissy LeMaire, Cláudio Silva, Jess Pomfret, Rob Sewell
  • Manning Publications
  • 2022

If you work with SQL Server, dbatools is a lifesaver. This book will show you how to use this free and open source PowerShell module to automate just about every SQL server task you can imagine—all in just one month!

In Learn dbatools in a Month of Lunches you will learn how to:

  • Perform instance-to-instance and customized migrations
  • Automate security audits, tempdb configuration, alerting, and reporting
  • Schedule and monitor PowerShell tasks in SQL Server Agent
  • Bulk-import any type of data into SQL Server
  • Install dbatools in secure environments

Written by a group of expert authors including dbatools creator Chrissy LeMaire, Learn dbatools in a Month of Lunches teaches you techniques that will make you more effective—and efficient—than you ever thought possible. In twenty-eight lunchbreak lessons, you’ll learn the most important use cases of dbatools and the favorite functions of its core developers. Stabilize and standardize your SQL server environment, and simplify your tasks by building automation, alerting, and reporting with this powerful tool.

about the technology

For SQL Server DBAs, automation is the key to efficiency. Using the open-source dbatools PowerShell module, you can easily execute tasks on thousands of database servers at once—all from the command line. dbatools gives you over 500 pre-built commands, with countless new options for managing SQL Server at scale. There’s nothing else like it.

about the book

Learn dbatools in a Month of Lunches teaches you how to automate SQL Server using the dbatools PowerShell module. Each 30-minute lesson introduces a new automation that will make your daily duties easier. Following the expert advice of dbatools creator Chrissy LeMaire and other top community contributors, you’ll learn to script everything from backups to disaster recovery.

About the Author

Chrissy LeMaire is a GitHub Star and the creator of dbatools. Rob Sewell is a data engineer and a passionate automator. Jess Pomfret and Cláudio Silva are data platform architects. All are Microsoft MVPs.

In this Book

  • Front Matter
  • Before You Begin
  • Installing Dbatools
  • The dbatools Lab
  • A Gentle Introduction to Dbatools Commands
  • Writing to SQL Server
  • Finding SQL Server Instances on Your Network
  • Inventorying Your SQL Estate
  • Registered Servers
  • Logins and Users
  • Backups
  • Restore
  • Snapshots
  • Install and Update SQL Server
  • Preparing for Disaster
  • Performing Your First Advanced SQL Server Instance Migration, Part 1
  • Performing Your First Advanced SQL Server Instance Migration, Part 2
  • High Availability and Disaster Recovery
  • PowerShell and SQL Server Agent
  • SQL Server Agent Administration
  • Creating and Working with SQL Server Agent Objects
  • Data Masking
  • DevOps Automation
  • Tracing SQL Server Activity
  • Security and Encryption
  • Data Compression
  • Validating Your Estate with dbachecks
  • Working in the Cloud
  • Dbatools Configurations and Logging
  • Never the End
SHOW MORE
FREE ACCESS

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.3 of 34 users Rating 4.3 of 34 users (34)
Rating 4.6 of 10 users Rating 4.6 of 10 users (10)