0%

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.

What's Inside
  • Performing instance-to-instance and customized migrations
  • Automating security audits, best practices, and standardized configurations
  • Administering SQL Server Agent including running PowerShell scripts effectively
  • Bulk-importing many types of data into SQL Server
  • Executing advanced tasks and increasing efficiency for everyday administration


About the Reader
For DBAs, accidental DBAs, and systems engineers who manage SQL Server.

About the Authors
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.

Quotes
All SQL Server professionals should learn dbatools. With its combination of knowledge transfer, anecdotes, and hands-on labs, this book is the perfect way.
- From the Foreword by Anna Hoffman, Databases Product Management, Microsoft

Excellent guide for dbatools with lots of practical tips! Required reading for anyone interested in dbatools.
- Ruben Vandeginste, PeopleWare

A must-have for any SQL server developer.
- Raushan Kumar Jha, Microsoft

If you want to automate all vital aspects of SQL Server, wait no more! Learn dbatools in a month, with guidance from the best minds in the business.
- Ranjit Sahai, RAM Consulting

Table of Contents

  1. inside front cover
  2. Learn dbatools in a Month of Lunches
  3. Copyright
  4. dedication
  5. contents
  6. front matter
  7. 1 Before you begin
  8. 2 Installing dbatools
  9. 3 The dbatools lab
  10. 4 A gentle introduction to dbatools commands
  11. 5 Writing to SQL Server
  12. 6 Finding SQL Server instances on your network
  13. 7 Inventorying your SQL estate
  14. 8 Registered Servers
  15. 9 Logins and users
  16. 10 Backups
  17. 11 Restore
  18. 12 Snapshots
  19. 13 Install and update SQL Server
  20. 14 Preparing for disaster
  21. 15 Performing your first advanced SQL Server instance migration, part 1
  22. 16 Performing your first advanced SQL Server instance migration, part 2
  23. 17 High availability and disaster recovery
  24. 18 PowerShell and SQL Server Agent
  25. 19 SQL Server Agent administration
  26. 20 Creating and working with SQL Server Agent objects
  27. 21 Data masking
  28. 22 DevOps automation
  29. 23 Tracing SQL Server activity
  30. 24 Security and encryption
  31. 25 Data compression
  32. 26 Validating your estate with dbachecks
  33. 27 Working in the cloud
  34. 28 dbatools configurations and logging
  35. 29 Never the end
  36. index
3.149.254.35